CloneSet1341


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.963statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16160
administrator/components/com_menus/models/items.php
26166
administrator/components/com_menus/models/items.php
Clone Instance
1
Line Count
6
Source Line
160
Source File
administrator/components/com_menus/models/items.php

                if (!empty($parentId)) {
                        $query->where('p.id = '
                                      .         (int) $parentId);
                      }
                // Filter the items over the menu id if set.
                $menuId=  $this->getState('filter.menu_id');


Clone Instance
2
Line Count
6
Source Line
166
Source File
administrator/components/com_menus/models/items.php

                if (!empty($menuId)) {
                        $query->where('a.menu_id = '
                                      .              (int) $menuId);
                      }
                // Filter the items over the menu id if set.
                $menuType=  $this->getState('filter.menutype');


Clone AbstractionParameter Count: 4Parameter Bindings

if (!empty( [[#variable58ba0ac0]])) {
  $query->where( [[#variable58ba0a80]]
                . (int) [[#variable58ba0ac0]]);
}
 [[#variable58ba09a0]]=$this->getState( [[#variable58ba0940]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58ba0ac0]]
$menuId 
12[[#58ba0ac0]]
$parentId 
21[[#58ba0a80]]
'a.menu_id = ' 
22[[#58ba0a80]]
'p.id = ' 
31[[#58ba09a0]]
// Filter the items over the menu id if set.
$menuType 
32[[#58ba09a0]]
// Filter the items over the menu id if set.
$menuId 
41[[#58ba0940]]
'filter.menutype' 
42[[#58ba0940]]
'filter.menu_id'