CloneSet920


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5330.977statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15124
administrator/components/com_menus/models/items.php
2546
administrator/components/com_users/models/groups.php
3546
administrator/components/com_users/models/levels.php
Clone Instance
1
Line Count
5
Source Line
124
Source File
administrator/components/com_menus/models/items.php

                $query->join('LEFT OUTER', '`#__menu` AS p ON a.lft > p.lft AND a.rgt < p.rgt');
                $query->group('a.id');

                // Exclude the root category.
                $query->where('a.id > 1');


Clone Instance
2
Line Count
5
Source Line
46
Source File
administrator/components/com_users/models/groups.php

                $query->join('LEFT OUTER', '`#__usergroups` AS c2 ON a.lft > c2.lft AND a.rgt < c2.rgt');
                $query->group('a.id');

                // Count the objects in the user group.
                $query->select('COUNT(DISTINCT map.user_id) AS user_count');


Clone Instance
3
Line Count
5
Source Line
46
Source File
administrator/components/com_users/models/levels.php

                $query->join('LEFT OUTER', '`#__access_assetgroups` AS c2 ON a.lft > c2.lft AND a.rgt < c2.rgt');
                $query->group('a.id');

                // Count the objects in the user group.
                $query->select('s.title AS section_title');


Clone AbstractionParameter Count: 3Parameter Bindings

$query->join('LEFT OUTER', [[#variable476e3ce0]]);
$query->group('a.id');
// Exclude the root category.
// Count the objects in the user group.
$query-> [[#variable476e3c40]]( [[#variable476e3b80]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#476e3ce0]]
'`#__menu` AS p ON a.lft > p.lft AND a.rgt < p.rgt' 
12[[#476e3ce0]]
'`#__usergroups` AS c2 ON a.lft > c2.lft AND a.rgt < c2.rgt' 
13[[#476e3ce0]]
'`#__access_assetgroups` AS c2 ON a.lft > c2.lft AND a.rgt < c2.rgt' 
21[[#476e3c40]]
where 
22[[#476e3c40]]
select 
23[[#476e3c40]]
select 
31[[#476e3b80]]
'a.id > 1' 
32[[#476e3b80]]
'COUNT(DISTINCT map.user_id) AS user_count' 
33[[#476e3b80]]
's.title AS section_title'