CloneSet62


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
43030.952if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13253
administrator/components/com_categories/models/category.php
23259
administrator/components/com_categories/models/category.php
33174
administrator/components/com_content/models/article.php
43180
administrator/components/com_content/models/article.php
54489
administrator/components/com_content/models/article.php
63599
administrator/components/com_content/models/article.php
74613
administrator/components/com_content/models/article.php
83621
administrator/components/com_content/models/article.php
93303
administrator/components/com_menus/models/item.php
103309
administrator/components/com_menus/models/item.php
113665
administrator/components/com_menus/models/item.php
123671
administrator/components/com_menus/models/item.php
133142
administrator/components/com_menus/models/menu.php
143366
administrator/components/com_redirect/models/link.php
15380
administrator/components/com_users/models/config.php
16386
administrator/components/com_users/models/config.php
173115
administrator/components/com_users/models/config.php
183121
administrator/components/com_users/models/config.php
193178
administrator/components/com_users/models/group.php
203238
administrator/components/com_users/models/group.php
213164
administrator/components/com_users/models/level.php
223233
administrator/components/com_weblinks/models/weblink.php
233255
components/com_users/models/profile.php
243186
components/com_users/models/registration.php
253267
components/com_users/models/registration.php
263232
installation/models/configuration.php
273241
installation/models/configuration.php
283206
libraries/joomla/database/table/usergroup.php
2941233
libraries/joomla/database/tablenested.php
303529
libraries/joomla/user/user.php
Clone Instance
1
Line Count
3
Source Line
253
Source File
administrator/components/com_categories/models/category.php

                // Check the data.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
2
Line Count
3
Source Line
259
Source File
administrator/components/com_categories/models/category.php

                // Store the data.
                if (!$table->store()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


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

                // Check the data.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
4
Line Count
3
Source Line
180
Source File
administrator/components/com_content/models/article.php

                // Store the data.
                if (!$table->store()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
5
Line Count
4
Source Line
489
Source File
administrator/components/com_content/models/article.php

                        if (!$table->store())
                        {
                                $this->setError($table->getError());
                                return FALSE;
                              }


Clone Instance
6
Line Count
3
Source Line
599
Source File
administrator/components/com_content/models/article.php

                        // Store the row.
                        if (!$table->store()) {
                                $this->setError($table->getError());
                                return FALSE;
                              }


Clone Instance
7
Line Count
4
Source Line
613
Source File
administrator/components/com_content/models/article.php

                        if (!$db->query())
                        {
                                $this->setError($db->getErrorMsg());
                                return FALSE;
                              }


Clone Instance
8
Line Count
3
Source Line
621
Source File
administrator/components/com_content/models/article.php

                // Rebuild the hierarchy.
                if (!$table->rebuildTree()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
9
Line Count
3
Source Line
303
Source File
administrator/components/com_menus/models/item.php

                // Check the data.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
10
Line Count
3
Source Line
309
Source File
administrator/components/com_menus/models/item.php

                // Store the data.
                if (!$table->store()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
11
Line Count
3
Source Line
665
Source File
administrator/components/com_menus/models/item.php

                        // Store the row.
                        if (!$table->store()) {
                                $this->setError($table->getError());
                                return FALSE;
                              }


Clone Instance
12
Line Count
3
Source Line
671
Source File
administrator/components/com_menus/models/item.php

                        // Rebuild the tree path.
                        if (!$table->rebuildPath()) {
                                $this->setError($table->getError());
                                return FALSE;
                              }


Clone Instance
13
Line Count
3
Source Line
142
Source File
administrator/components/com_menus/models/menu.php

                // Check the data.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
14
Line Count
3
Source Line
366
Source File
administrator/components/com_redirect/models/link.php

                // Check the data.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
15
Line Count
3
Source Line
80
Source File
administrator/components/com_users/models/config.php

                // Check for errors.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
16
Line Count
3
Source Line
86
Source File
administrator/components/com_users/models/config.php

                // Attempt to store the data.
                if (!$table->store()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
17
Line Count
3
Source Line
115
Source File
administrator/components/com_users/models/config.php

                // Check for errors.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
18
Line Count
3
Source Line
121
Source File
administrator/components/com_users/models/config.php

                // Attempt to store the data.
                if (!$table->store()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
19
Line Count
3
Source Line
178
Source File
administrator/components/com_users/models/group.php

                // Check the data.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
20
Line Count
3
Source Line
238
Source File
administrator/components/com_users/models/group.php

                                if (!$rule->store()) {
                                        $this->setError($rule->getErrorMsg());
                                        return FALSE;
                                      }


Clone Instance
21
Line Count
3
Source Line
164
Source File
administrator/components/com_users/models/level.php

                        // Store the access level.
                        if (!$item->store()) {
                                $this->setError($item->getError());
                                return FALSE;
                              }


Clone Instance
22
Line Count
3
Source Line
233
Source File
administrator/components/com_weblinks/models/weblink.php

                // Check the data
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
23
Line Count
3
Source Line
255
Source File
components/com_users/models/profile.php

                // Store the data.
                if (!$user->save()) {
                        $this->setError($user->getError());
                        return FALSE;
                      }


Clone Instance
24
Line Count
3
Source Line
186
Source File
components/com_users/models/registration.php

                // Store the data.
                if (!$user->save()) {
                        $this->setError($user->getError());
                        return FALSE;
                      }


Clone Instance
25
Line Count
3
Source Line
267
Source File
components/com_users/models/registration.php

                // Store the user object.
                if (!$user->save()) {
                        $this->setError($user->getError());
                        return FALSE;
                      }


Clone Instance
26
Line Count
3
Source Line
232
Source File
installation/models/configuration.php

                if (!$db->query()) {
                        $this->setError($db->getErrorMsg());
                        return FALSE;
                      }


Clone Instance
27
Line Count
3
Source Line
241
Source File
installation/models/configuration.php

                if (!$db->query()) {
                        $this->setError($db->getErrorMsg());
                        return FALSE;
                      }


Clone Instance
28
Line Count
3
Source Line
206
Source File
libraries/joomla/database/table/usergroup.php

                if (!$db->query()) {
                        $this->setError($db->getErrorMsg());
                        return FALSE;
                      }


Clone Instance
29
Line Count
4
Source Line
1233
Source File
libraries/joomla/database/tablenested.php

                // If there is an update failure, return false to break out of the recursion.
                if (!$db->query())
                {
                        $this->setError($db->getErrorMsg());
                        return FALSE;
                      }


Clone Instance
30
Line Count
3
Source Line
529
Source File
libraries/joomla/user/user.php

                // Check and store the object.
                if (!$table->check()) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Rebuild the hierarchy.
// Store the access level.
// Check the data.
// Rebuild the tree path.
// Store the data.
// If there is an update failure, return false to break out of the recursion.
// Check and store the object.
// Store the row.
// Attempt to store the data.
// Check for errors.
// Check the data
// Store the user object.
if (! [[#variable45078ce0]]-> [[#variable45078c80]]()) {
  $this->setError( [[#variable45078ce0]]-> [[#variable45078c00]]());
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#45078ce0]]
$table 
12[[#45078ce0]]
$db 
13[[#45078ce0]]
$table 
14[[#45078ce0]]
$item 
15[[#45078ce0]]
$table 
16[[#45078ce0]]
$table 
17[[#45078ce0]]
$user 
18[[#45078ce0]]
$rule 
19[[#45078ce0]]
$user 
110[[#45078ce0]]
$db 
111[[#45078ce0]]
$db 
112[[#45078ce0]]
$table 
113[[#45078ce0]]
$db 
114[[#45078ce0]]
$table 
115[[#45078ce0]]
$table 
116[[#45078ce0]]
$db 
117[[#45078ce0]]
$table 
118[[#45078ce0]]
$table 
119[[#45078ce0]]
$table 
120[[#45078ce0]]
$table 
121[[#45078ce0]]
$table 
122[[#45078ce0]]
$table 
123[[#45078ce0]]
$table 
124[[#45078ce0]]
$table 
125[[#45078ce0]]
$table 
126[[#45078ce0]]
$table 
127[[#45078ce0]]
$table 
128[[#45078ce0]]
$table 
129[[#45078ce0]]
$table 
130[[#45078ce0]]
$user 
21[[#45078c80]]
store 
22[[#45078c80]]
query 
23[[#45078c80]]
rebuildTree 
24[[#45078c80]]
store 
25[[#45078c80]]
check 
26[[#45078c80]]
rebuildPath 
27[[#45078c80]]
save 
28[[#45078c80]]
store 
29[[#45078c80]]
save 
210[[#45078c80]]
query 
211[[#45078c80]]
query 
212[[#45078c80]]
check 
213[[#45078c80]]
query 
214[[#45078c80]]
store 
215[[#45078c80]]
store 
216[[#45078c80]]
query 
217[[#45078c80]]
store 
218[[#45078c80]]
check 
219[[#45078c80]]
check 
220[[#45078c80]]
check 
221[[#45078c80]]
store 
222[[#45078c80]]
check 
223[[#45078c80]]
store 
224[[#45078c80]]
check 
225[[#45078c80]]
check 
226[[#45078c80]]
store 
227[[#45078c80]]
check 
228[[#45078c80]]
check 
229[[#45078c80]]
store 
230[[#45078c80]]
save 
31[[#45078c00]]
getError 
32[[#45078c00]]
getErrorMsg 
33[[#45078c00]]
getError 
34[[#45078c00]]
getError 
35[[#45078c00]]
getError 
36[[#45078c00]]
getError 
37[[#45078c00]]
getError 
38[[#45078c00]]
getErrorMsg 
39[[#45078c00]]
getError 
310[[#45078c00]]
getErrorMsg 
311[[#45078c00]]
getErrorMsg 
312[[#45078c00]]
getError 
313[[#45078c00]]
getErrorMsg 
314[[#45078c00]]
getError 
315[[#45078c00]]
getError 
316[[#45078c00]]
getErrorMsg 
317[[#45078c00]]
getError 
318[[#45078c00]]
getError 
319[[#45078c00]]
getError 
320[[#45078c00]]
getError 
321[[#45078c00]]
getError 
322[[#45078c00]]
getError 
323[[#45078c00]]
getError 
324[[#45078c00]]
getError 
325[[#45078c00]]
getError 
326[[#45078c00]]
getError 
327[[#45078c00]]
getError 
328[[#45078c00]]
getError 
329[[#45078c00]]
getError 
330[[#45078c00]]
getError