Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 4 | 0.958 | foreach_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 749 | libraries/joomla/installer/installer.php |
2 | 2 | 752 | libraries/joomla/installer/installer.php |
| ||||
foreach ($deletions['folders'] as $deleted_folder) { JFolder::delete($destination . DS . $deleted); } |
| ||||
foreach ($deletions['files'] as $deleted_file) { JFile::delete($destination . DS . $deleted_file); } |
| |||
foreach ($deletions[ [[#variable44bc73a0]]] as [[#variable44bc7300]]) { [[#variable44bc7240]]::delete($destination . DS . [[#variable44bc71e0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#44bc73a0]] | 'files' |
1 | 2 | [[#44bc73a0]] | 'folders' |
2 | 1 | [[#44bc7300]] | $deleted_file |
2 | 2 | [[#44bc7300]] | $deleted_folder |
3 | 1 | [[#44bc7240]] | JFile |
3 | 2 | [[#44bc7240]] | JFolder |
4 | 1 | [[#44bc71e0]] | $deleted_file |
4 | 2 | [[#44bc71e0]] | $deleted |