Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 3 | 0.977 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 124 | administrator/components/com_menus/models/items.php |
2 | 5 | 46 | administrator/components/com_users/models/groups.php |
3 | 5 | 46 | administrator/components/com_users/models/levels.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'); |
| ||||
$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'); |
| ||||
$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'); |
| |||
$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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#476e3ce0]] | '`#__menu` AS p ON a.lft > p.lft AND a.rgt < p.rgt' |
1 | 2 | [[#476e3ce0]] | '`#__usergroups` AS c2 ON a.lft > c2.lft AND a.rgt < c2.rgt' |
1 | 3 | [[#476e3ce0]] | '`#__access_assetgroups` AS c2 ON a.lft > c2.lft AND a.rgt < c2.rgt' |
2 | 1 | [[#476e3c40]] | where |
2 | 2 | [[#476e3c40]] | select |
2 | 3 | [[#476e3c40]] | select |
3 | 1 | [[#476e3b80]] | 'a.id > 1' |
3 | 2 | [[#476e3b80]] | 'COUNT(DISTINCT map.user_id) AS user_count' |
3 | 3 | [[#476e3b80]] | 's.title AS section_title' |