Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 4 | 0.970 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 227 | libraries/joomla/installer/adapters/library.php |
2 | 4 | 181 | libraries/joomla/installer/adapters/package.php |
| ||||
$manifest= new JLibraryManifest($manifestFile); // Set the plugin root path $this->parent->setPath('extension_root', JPATH_ROOT . DS . 'libraries' . DS . $manifest->libraryname); |
| ||||
$manifest= new JPackageManifest($manifestFile); // Set the plugin root path $this->parent->setPath('extension_root', JPATH_MANIFESTS . DS . 'packages' . DS . $manifest->packagename); |
| |||
$manifest=new [[#variable540ceea0]]($manifestFile); // Set the plugin root path $this->parent->setPath('extension_root', [[#variable540cee20]] . DS . [[#variable540cedc0]] . DS . $manifest-> [[#variable540ceda0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#540ceea0]] | JLibraryManifest |
1 | 2 | [[#540ceea0]] | JPackageManifest |
2 | 1 | [[#540cee20]] | JPATH_ROOT |
2 | 2 | [[#540cee20]] | JPATH_MANIFESTS |
3 | 1 | [[#540cedc0]] | 'libraries' |
3 | 2 | [[#540cedc0]] | 'packages' |
4 | 1 | [[#540ceda0]] | libraryname |
4 | 2 | [[#540ceda0]] | packagename |