Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.962 | statement_block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 180 | administrator/components/com_modules/models/module.php |
2 | 3 | 1416 | libraries/joomla/installer/installer.php |
| ||||
{ if (!in_array($child->data(), $positions)) { $positions[]= $child->data(); } } |
| ||||
{ // look if the folder exists in the new list if (!in_array($file->data(), $containers)) { // check if the folder exists as a container in the new list $folders_deleted[]= $file->data(); // if its not in the new list or a container then delete it } } |
| |||
{ // look if the folder exists in the new list if (!in_array( [[#variable46569120]]->data(), [[#variable465690c0]])) { // check if the folder exists as a container in the new list [[#variable46569020]][]= [[#variable46569120]]->data(); // if its not in the new list or a container then delete it } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46569120]] | $file |
1 | 2 | [[#46569120]] | $child |
2 | 1 | [[#465690c0]] | $containers |
2 | 2 | [[#465690c0]] | $positions |
3 | 1 | [[#46569020]] | $folders_deleted |
3 | 2 | [[#46569020]] | $positions |