Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.984 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 58 | administrator/components/com_installer/models/libraries.php |
2 | 7 | 76 | administrator/components/com_installer/models/packages.php |
| ||||
$files= JFolder::files(JPATH_MANIFESTS . DS . 'libraries'); $rows= array(); $file= $files[0]; foreach ($files as $file) { if (strtolower(JFile::getExt($file)) == 'xml') { $rows[]= new JLibraryManifest(JPATH_MANIFESTS . DS . 'libraries' . DS . $file); } } |
| ||||
$files= JFolder::files(JPATH_MANIFESTS . DS . 'packages'); $retval= array(); $file= $files[0]; foreach ($files as $file) { if (strtolower(JFile::getExt($file)) == 'xml') { $retval[]= new JPackageManifest(JPATH_MANIFESTS . DS . 'packages' . DS . $file); } } |
| |||
$files=JFolder::files(JPATH_MANIFESTS . DS . [[#variable511f5bc0]]); [[#variable512b7560]]=array(); $file=$files[0]; foreach ($files as $file) { if (strtolower(JFile::getExt($file)) == 'xml') { [[#variable512b7560]][]=new [[#variable511f5b60]](JPATH_MANIFESTS . DS . [[#variable511f5bc0]] . DS . $file); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#511f5bc0]] | 'libraries' |
1 | 2 | [[#511f5bc0]] | 'packages' |
2 | 1 | [[#512b7560]] | $rows |
2 | 2 | [[#512b7560]] | $retval |
3 | 1 | [[#511f5b60]] | JLibraryManifest |
3 | 2 | [[#511f5b60]] | JPackageManifest |