CloneSet121


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11720.964statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1182
administrator/components/com_categories/models/category.php
2173
administrator/components/com_content/models/article.php
31334
administrator/components/com_content/models/article.php
4188
administrator/components/com_menus/models/item.php
5172
administrator/components/com_menus/models/menu.php
6181
administrator/components/com_redirect/models/link.php
7161
administrator/components/com_users/models/group.php
8162
administrator/components/com_users/models/level.php
9161
administrator/components/com_users/models/user.php
101171
administrator/components/com_users/models/user.php
111188
administrator/components/com_users/models/user.php
121220
administrator/components/com_users/models/user.php
131146
administrator/components/com_weblinks/models/weblink.php
14167
components/com_content/models/article.php
151177
components/com_content/models/article.php
161168
components/com_users/models/profile.php
171200
components/com_users/models/profile.php
Clone Instance
1
Line Count
1
Source Line
82
Source File
administrator/components/com_categories/models/category.php

                // Initialize variables.
                $pk=  (!empty($pk))
                      ?               $pk
                      :                     (int) $this->getState('category.id');


Clone Instance
2
Line Count
1
Source Line
73
Source File
administrator/components/com_content/models/article.php

                // Initialize variables.
                $itemId=  (!empty($itemId))
                          ?                   $itemId
                          :                             (int) $this->getState('article.id');


Clone Instance
3
Line Count
1
Source Line
334
Source File
administrator/components/com_content/models/article.php

                // Sanitize the id and adjustment.
                $pk=      (!empty($pk))
                          ?               $pk
                          :                     (int) $this->getState('article.id');


Clone Instance
4
Line Count
1
Source Line
88
Source File
administrator/components/com_menus/models/item.php

                // Initialize variables.
                $pk=  (!empty($pk))
                      ?               $pk
                      :                     (int) $this->getState('item.id');


Clone Instance
5
Line Count
1
Source Line
72
Source File
administrator/components/com_menus/models/menu.php

                // Initialize variables.
                $itemId=  (!empty($itemId))
                          ?                   $itemId
                          :                             (int) $this->getState('menu.id');


Clone Instance
6
Line Count
1
Source Line
81
Source File
administrator/components/com_redirect/models/link.php

                // Initialize variables.
                $linkId=  (!empty($linkId))
                          ?                   $linkId
                          :                             (int) $this->getState('link.id');


Clone Instance
7
Line Count
1
Source Line
61
Source File
administrator/components/com_users/models/group.php

                // Initialize variables.
                $groupId=  (!empty($groupId))
                           ?                    $groupId
                           :                               (int) $this->getState('group.id');


Clone Instance
8
Line Count
1
Source Line
62
Source File
administrator/components/com_users/models/level.php

                // Initialize variables.
                $levelId=  (!empty($levelId))
                           ?                    $levelId
                           :                               (int) $this->getState('level.id');


Clone Instance
9
Line Count
1
Source Line
61
Source File
administrator/components/com_users/models/user.php

                // Initialize variables.
                $userId=  (!empty($userId))
                          ?                   $userId
                          :                             (int) $this->getState('user.id');


Clone Instance
10
Line Count
1
Source Line
171
Source File
administrator/components/com_users/models/user.php

                // Initialize variables.
                $userId=  (!empty($userId))
                          ?                   $userId
                          :                             (int) $this->getState('user.id');


Clone Instance
11
Line Count
1
Source Line
188
Source File
administrator/components/com_users/models/user.php

                // Initialize variables.
                $userId=  (!empty($userId))
                          ?                   $userId
                          :                             (int) $this->getState('user.id');


Clone Instance
12
Line Count
1
Source Line
220
Source File
administrator/components/com_users/models/user.php

                // Initialize variables.
                $userId=  (!empty($userId))
                          ?                   $userId
                          :                             (int) $this->getState('user.id');


Clone Instance
13
Line Count
1
Source Line
146
Source File
administrator/components/com_weblinks/models/weblink.php

                // Initialize variables.
                $weblinkId=       (!empty($weblinkId))
                                  ?                      $weblinkId
                                  :                                   (int) $this->getState('weblink.id');


Clone Instance
14
Line Count
1
Source Line
67
Source File
components/com_content/models/article.php

                // Initialize variables.
                $pk=  (!empty($pk))
                      ?               $pk
                      :                     (int) $this->getState('article.id');


Clone Instance
15
Line Count
1
Source Line
177
Source File
components/com_content/models/article.php

                // Initialize variables.
                $pk=  (!empty($pk))
                      ?               $pk
                      :                     (int) $this->getState('article.id');


Clone Instance
16
Line Count
1
Source Line
168
Source File
components/com_users/models/profile.php

                // Get the member id.
                $memberId=  (!empty($memberId))
                            ?                     $memberId
                            :                                 (int) $this->getState('member.id');


Clone Instance
17
Line Count
1
Source Line
200
Source File
components/com_users/models/profile.php

                // Get the member id.
                $memberId=  (!empty($memberId))
                            ?                     $memberId
                            :                                 (int) $this->getState('member.id');


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable46547720]]=(!empty( [[#variable46547720]]))
                       ? [[#variable46547720]]
                       : (int) $this->getState( [[#variable465477a0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46547720]]
// Initialize variables.
$pk 
12[[#46547720]]
// Sanitize the id and adjustment.
$pk 
13[[#46547720]]
// Initialize variables.
$pk 
14[[#46547720]]
// Initialize variables.
$userId 
15[[#46547720]]
// Get the member id.
$memberId 
16[[#46547720]]
// Initialize variables.
$itemId 
17[[#46547720]]
// Initialize variables.
$itemId 
18[[#46547720]]
// Initialize variables.
$linkId 
19[[#46547720]]
// Initialize variables.
$groupId 
110[[#46547720]]
// Initialize variables.
$levelId 
111[[#46547720]]
// Initialize variables.
$weblinkId 
112[[#46547720]]
// Initialize variables.
$pk 
113[[#46547720]]
// Get the member id.
$memberId 
114[[#46547720]]
// Initialize variables.
$userId 
115[[#46547720]]
// Initialize variables.
$userId 
116[[#46547720]]
// Initialize variables.
$pk 
117[[#46547720]]
// Initialize variables.
$userId 
21[[#465477a0]]
'category.id' 
22[[#465477a0]]
'article.id' 
23[[#465477a0]]
'item.id' 
24[[#465477a0]]
'user.id' 
25[[#465477a0]]
'member.id' 
26[[#465477a0]]
'article.id' 
27[[#465477a0]]
'menu.id' 
28[[#465477a0]]
'link.id' 
29[[#465477a0]]
'group.id' 
210[[#465477a0]]
'level.id' 
211[[#465477a0]]
'weblink.id' 
212[[#465477a0]]
'article.id' 
213[[#465477a0]]
'member.id' 
214[[#465477a0]]
'user.id' 
215[[#465477a0]]
'user.id' 
216[[#465477a0]]
'article.id' 
217[[#465477a0]]
'user.id'