Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.963 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 160 | administrator/components/com_menus/models/items.php |
2 | 6 | 166 | 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'); |
| ||||
if (!empty($menuId)) { $query->where('a.menu_id = ' . (int) $menuId); } // Filter the items over the menu id if set. $menuType= $this->getState('filter.menutype'); |
| |||
if (!empty( [[#variable58ba0ac0]])) { $query->where( [[#variable58ba0a80]] . (int) [[#variable58ba0ac0]]); } [[#variable58ba09a0]]=$this->getState( [[#variable58ba0940]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58ba0ac0]] | $menuId |
1 | 2 | [[#58ba0ac0]] | $parentId |
2 | 1 | [[#58ba0a80]] | 'a.menu_id = ' |
2 | 2 | [[#58ba0a80]] | 'p.id = ' |
3 | 1 | [[#58ba09a0]] | // Filter the items over the menu id if set. $menuType |
3 | 2 | [[#58ba09a0]] | // Filter the items over the menu id if set. $menuId |
4 | 1 | [[#58ba0940]] | 'filter.menutype' |
4 | 2 | [[#58ba0940]] | 'filter.menu_id' |