CloneSet1467


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.960if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15196
administrator/components/com_menus/models/fields/menutype.php
25218
administrator/components/com_menus/models/fields/menutype.php
Clone Instance
1
Line Count
5
Source Line
196
Source File
administrator/components/com_menus/models/fields/menutype.php

                // Look for the first menu node off of the root node.
                if (!$menu=  $xml->xpath('menu[1]')) {
                        return FALSE;
                      }
                else {
                        $menu=  $menu[0];
                      }


Clone Instance
2
Line Count
5
Source Line
218
Source File
administrator/components/com_menus/models/fields/menutype.php

                // Look for the first options node off of the menu node.
                if (!$optionsNode=  $menu->xpath('options[1]')) {
                        return FALSE;
                      }
                else {
                        $optionsNode=  $optionsNode[0];
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Look for the first options node off of the menu node.
// Look for the first menu node off of the root node.
if (! [[#variable5867f7e0]]= [[#variable5867f720]]->xpath( [[#variable5867f760]])) {
  return FALSE;
}
else {
   [[#variable5867f7e0]]= [[#variable5867f7e0]][0];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5867f7e0]]
$optionsNode 
12[[#5867f7e0]]
$menu 
21[[#5867f720]]
$menu 
22[[#5867f720]]
$xml 
31[[#5867f760]]
'options[1]' 
32[[#5867f760]]
'menu[1]'