Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 5 | 5 | 0.967 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 102 | libraries/joomla/installer/adapters/language.php |
2 | 6 | 256 | libraries/joomla/installer/adapters/language.php |
3 | 6 | 59 | libraries/joomla/installer/adapters/module.php |
4 | 6 | 45 | libraries/joomla/installer/adapters/package.php |
5 | 6 | 54 | libraries/joomla/installer/adapters/plugin.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'); |
| ||||
// 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'); |
| ||||
/** * --------------------------------------------------------------------------------------------- * 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'); |
| ||||
/** * --------------------------------------------------------------------------------------------- * 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'); |
| ||||
/** * --------------------------------------------------------------------------------------------- * 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'); |
| |||
/** * --------------------------------------------------------------------------------------------- * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2401bc00]] | 'name' |
1 | 2 | [[#2401bc00]] | 'packagename' |
1 | 3 | [[#2401bc00]] | 'name' |
1 | 4 | [[#2401bc00]] | 'name' |
1 | 5 | [[#2401bc00]] | 'name' |
2 | 1 | [[#2401bb80]] | 'string' |
2 | 2 | [[#2401bb80]] | 'cmd' |
2 | 3 | [[#2401bb80]] | 'cmd' |
2 | 4 | [[#2401bb80]] | 'string' |
2 | 5 | [[#2401bb80]] | 'cmd' |
3 | 1 | [[#2347e700]] | // Get the component description $description |
3 | 2 | [[#2347e700]] | // Get the component description $description |
3 | 3 | [[#2347e700]] | // Get the Language tag [ISO tag, eg. en-GB] $tag |
3 | 4 | [[#2347e700]] | // Get the component description $description |
3 | 5 | [[#2347e700]] | // Get the Language tag [ISO tag, eg. en-GB] $tag |
4 | 1 | [[#2401bb00]] | $this->manifest |
4 | 2 | [[#2401bb00]] | $this->manifest |
4 | 3 | [[#2401bb00]] | $root |
4 | 4 | [[#2401bb00]] | $this->manifest |
4 | 5 | [[#2401bb00]] | $root |
5 | 1 | [[#2401ba60]] | 'description' |
5 | 2 | [[#2401ba60]] | 'description' |
5 | 3 | [[#2401ba60]] | 'tag' |
5 | 4 | [[#2401ba60]] | 'description' |
5 | 5 | [[#2401ba60]] | 'tag' |