CloneSet1663


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.962statement_block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13180
administrator/components/com_modules/models/module.php
231416
libraries/joomla/installer/installer.php
Clone Instance
1
Line Count
3
Source Line
180
Source File
administrator/components/com_modules/models/module.php

                                        {
                                                if (!in_array($child->data(), $positions)) {
                                                        $positions[]=  $child->data();
                                                      }
                                              }


Clone Instance
2
Line Count
3
Source Line
1416
Source File
libraries/joomla/installer/installer.php

                                                                               { // 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
                                                      }
                                              }


Clone AbstractionParameter Count: 3Parameter Bindings

{ // 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46569120]]
$file 
12[[#46569120]]
$child 
21[[#465690c0]]
$containers 
22[[#465690c0]]
$positions 
31[[#46569020]]
$folders_deleted 
32[[#46569020]]
$positions