CloneSet218


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21130.972statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16103
administrator/components/com_content/models/articles.php
2239
administrator/components/com_content/models/featured.php
32111
administrator/components/com_menus/models/items.php
4241
administrator/components/com_menus/models/menus.php
5243
administrator/components/com_redirect/models/links.php
6241
administrator/components/com_users/models/groups.php
7241
administrator/components/com_users/models/levels.php
8241
administrator/components/com_users/models/users.php
92115
administrator/components/com_weblinks/models/weblinks.php
10279
components/com_content/models/article.php
11285
components/com_weblinks/models/category.php
Clone Instance
1
Line Count
6
Source Line
103
Source File
administrator/components/com_content/models/articles.php

                // Select the required fields from the table.
                $query->select(
                        $this->getState(
                                'list.select',
                                'a.id, a.title, a.alias, a.checked_out, a.checked_out_time, a.state, a.access, a.created, a.hits, a.ordering, a.featured'));

                $query->from('#__content AS a');


Clone Instance
2
Line Count
2
Source Line
39
Source File
administrator/components/com_content/models/featured.php

                // Select the required fields from the table.
                $query->select($this->getState('list.select', 'a.id, a.title, a.alias, a.checked_out, a.checked_out_time, a.state, a.access, a.created, a.hits'));
                $query->from('#__content AS a');


Clone Instance
3
Line Count
2
Source Line
111
Source File
administrator/components/com_menus/models/items.php

                // Select all fields from the table.
                $query->select($this->getState('list.select', 'a.*'));
                $query->from('`#__menu` AS a');


Clone Instance
4
Line Count
2
Source Line
41
Source File
administrator/components/com_menus/models/menus.php

                // Select all fields from the table.
                $query->select($this->getState('list.select', 'a.*'));
                $query->from('`#__menu_types` AS a');


Clone Instance
5
Line Count
2
Source Line
43
Source File
administrator/components/com_redirect/models/links.php

                // Select all fields from the table.
                $query->select($this->getState('list.select', '*'));
                $query->from('`#__redirect_links`');


Clone Instance
6
Line Count
2
Source Line
41
Source File
administrator/components/com_users/models/groups.php

                // Select all fields from the table.
                $query->select($this->getState('list.select', 'a.*'));
                $query->from('`#__usergroups` AS a');


Clone Instance
7
Line Count
2
Source Line
41
Source File
administrator/components/com_users/models/levels.php

                // Select all fields from the table.
                $query->select($this->getState('list.select', 'a.*'));
                $query->from('`#__access_assetgroups` AS a');


Clone Instance
8
Line Count
2
Source Line
41
Source File
administrator/components/com_users/models/users.php

                // Select all fields from the users table.
                $query->select($this->getState('list.select', 'a.*'));
                $query->from('`#__users` AS a');


Clone Instance
9
Line Count
2
Source Line
115
Source File
administrator/components/com_weblinks/models/weblinks.php

                // Select all fields from the users table.
                $query->select($this->getState('list.select', 'a.*'));
                $query->from('`#__weblinks` AS a');


Clone Instance
10
Line Count
2
Source Line
79
Source File
components/com_content/models/article.php

                                $query->select($this->getState('item.select', 'a.*'));
                                $query->from('#__content AS a');


Clone Instance
11
Line Count
2
Source Line
85
Source File
components/com_weblinks/models/category.php

                // Select required fields from the categories.
                $query->select($this->getState('list.select', 'a.*'));
                $query->from('`#__weblinks` AS a');


Clone AbstractionParameter Count: 3Parameter Bindings

// Select required fields from the categories.
// Select all fields from the table.
// Select all fields from the users table.
// Select the required fields from the table.
$query->select($this->getState( [[#variable550778a0]], [[#variable58eecca0]]));
$query->from( [[#variable550774e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#550778a0]]
'list.select' 
12[[#550778a0]]
'list.select' 
13[[#550778a0]]
'list.select' 
14[[#550778a0]]
'list.select' 
15[[#550778a0]]
'list.select' 
16[[#550778a0]]
'item.select' 
17[[#550778a0]]
'list.select' 
18[[#550778a0]]
'list.select' 
19[[#550778a0]]
'list.select' 
110[[#550778a0]]
'list.select' 
111[[#550778a0]]
'list.select' 
21[[#58eecca0]]
'a.*' 
22[[#58eecca0]]
'a.*' 
23[[#58eecca0]]
'a.*' 
24[[#58eecca0]]
'a.*' 
25[[#58eecca0]]
'a.*' 
26[[#58eecca0]]
'a.*' 
27[[#58eecca0]]
'*' 
28[[#58eecca0]]
'a.id, a.title, a.alias, a.checked_out, a.checked_out_time, a.state, a.access, a.created, a.hits' 
29[[#58eecca0]]
'a.id, a.title, a.alias, a.checked_out, a.checked_out_time, a.state, a.access, a.created, a.hits, a.ordering, a.featured' 
210[[#58eecca0]]
'a.*' 
211[[#58eecca0]]
'a.*' 
31[[#550774e0]]
'`#__weblinks` AS a' 
32[[#550774e0]]
'`#__menu_types` AS a' 
33[[#550774e0]]
'`#__menu` AS a' 
34[[#550774e0]]
'`#__users` AS a' 
35[[#550774e0]]
'`#__usergroups` AS a' 
36[[#550774e0]]
'#__content AS a' 
37[[#550774e0]]
'`#__redirect_links`' 
38[[#550774e0]]
'#__content AS a' 
39[[#550774e0]]
'#__content AS a' 
310[[#550774e0]]
'`#__access_assetgroups` AS a' 
311[[#550774e0]]
'`#__weblinks` AS a'