CloneSet221


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6550.967statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16102
libraries/joomla/installer/adapters/language.php
26256
libraries/joomla/installer/adapters/language.php
3659
libraries/joomla/installer/adapters/module.php
4645
libraries/joomla/installer/adapters/package.php
5654
libraries/joomla/installer/adapters/plugin.php
Clone Instance
1
Line Count
6
Source Line
102
Source File
libraries/joomla/installer/adapters/language.php

                // Get the language name
                // Set the extensions name
                $name=  &$this->manifest->getElementByPath('name');
                $name=  JFilterInput::clean($name->data(), 'cmd');
                $this->set('name', $name);

                // Get the Language tag [ISO tag, eg. en-GB]
                $tag=  &$root->getElementByPath('tag');


Clone Instance
2
Line Count
6
Source Line
256
Source File
libraries/joomla/installer/adapters/language.php

                // Get the language name
                // Set the extensions name
                $name=  &$this->manifest->getElementByPath('name');
                $name=  JFilterInput::clean($name->data(), 'cmd');
                $this->set('name', $name);

                // Get the Language tag [ISO tag, eg. en-GB]
                $tag=  &$root->getElementByPath('tag');


Clone Instance
3
Line Count
6
Source Line
59
Source File
libraries/joomla/installer/adapters/module.php

                /**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */
                // Set the extensions name
                $name=  &$this->manifest->getElementByPath('name');
                $name=  JFilterInput::clean($name->data(), 'string');
                $this->set('name', $name);

                // Get the component description
                $description=  & $this->manifest->getElementByPath('description');


Clone Instance
4
Line Count
6
Source Line
45
Source File
libraries/joomla/installer/adapters/package.php

                /**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */
                // Set the extensions name
                $name=  &$this->manifest->getElementByPath('packagename');
                $name=  JFilterInput::clean($name->data(), 'cmd');
                $this->set('name', $name);

                // Get the component description
                $description=  & $this->manifest->getElementByPath('description');


Clone Instance
5
Line Count
6
Source Line
54
Source File
libraries/joomla/installer/adapters/plugin.php

                /**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */
                // Set the extensions name
                $name=  &$this->manifest->getElementByPath('name');
                $name=  JFilterInput::clean($name->data(), 'string');
                $this->set('name', $name);

                // Get the component description
                $description=  & $this->manifest->getElementByPath('description');


Clone AbstractionParameter Count: 5Parameter Bindings

/**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */
/**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */
// Get the language name
// Set the extensions name
$name= &$this->manifest->getElementByPath( [[#variable2401bc00]]);
$name=JFilterInput::clean($name->data(), [[#variable2401bb80]]);
$this->set('name',$name);
 [[#variable2347e700]]= & [[#variable2401bb00]]->getElementByPath( [[#variable2401ba60]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2401bc00]]
'name' 
12[[#2401bc00]]
'packagename' 
13[[#2401bc00]]
'name' 
14[[#2401bc00]]
'name' 
15[[#2401bc00]]
'name' 
21[[#2401bb80]]
'string' 
22[[#2401bb80]]
'cmd' 
23[[#2401bb80]]
'cmd' 
24[[#2401bb80]]
'string' 
25[[#2401bb80]]
'cmd' 
31[[#2347e700]]
// Get the component description
$description 
32[[#2347e700]]
// Get the component description
$description 
33[[#2347e700]]
// Get the Language tag [ISO tag, eg. en-GB]
$tag 
34[[#2347e700]]
// Get the component description
$description 
35[[#2347e700]]
// Get the Language tag [ISO tag, eg. en-GB]
$tag 
41[[#2401bb00]]
$this->manifest 
42[[#2401bb00]]
$this->manifest 
43[[#2401bb00]]
$root 
44[[#2401bb00]]
$this->manifest 
45[[#2401bb00]]
$root 
51[[#2401ba60]]
'description' 
52[[#2401ba60]]
'description' 
53[[#2401ba60]]
'tag' 
54[[#2401ba60]]
'description' 
55[[#2401ba60]]
'tag'