CloneSet149


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21840.955if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12272
administrator/components/com_contact/admin.contact.php
22283
administrator/components/com_contact/admin.contact.php
32381
administrator/components/com_contact/admin.contact.php
42485
administrator/components/com_contact/admin.contact.php
52253
administrator/components/com_messages/admin.messages.php
62234
administrator/components/com_newsfeeds/admin.newsfeeds.php
72245
administrator/components/com_newsfeeds/admin.newsfeeds.php
82312
administrator/components/com_newsfeeds/admin.newsfeeds.php
92445
administrator/components/com_newsfeeds/admin.newsfeeds.php
10274
administrator/components/com_plugins/controller.php
11277
administrator/components/com_plugins/controller.php
122129
administrator/components/com_plugins/controller.php
132251
administrator/components/com_plugins/controller.php
142109
components/com_banners/models/banner.php
152126
components/com_banners/models/banner.php
162151
components/com_banners/models/banner.php
172162
components/com_banners/models/banner.php
183183
components/com_banners/models/banner.php
Clone Instance
1
Line Count
2
Source Line
272
Source File
administrator/components/com_contact/admin.contact.php

        // pre-save checks
        if (!$row->check()) {
                JError::raiseError(500, $row->getError());
              }


Clone Instance
2
Line Count
2
Source Line
283
Source File
administrator/components/com_contact/admin.contact.php

        // save the changes
        if (!$row->store()) {
                JError::raiseError(500, $row->getError());
              }


Clone Instance
3
Line Count
2
Source Line
381
Source File
administrator/components/com_contact/admin.contact.php

        if (!$db->query()) {
                JError::raiseError(500, $db->getErrorMsg());
              }


Clone Instance
4
Line Count
2
Source Line
485
Source File
administrator/components/com_contact/admin.contact.php

                        if (!$row->store()) {
                                JError::raiseError(500, $db->getErrorMsg());
                              }


Clone Instance
5
Line Count
2
Source Line
253
Source File
administrator/components/com_messages/admin.messages.php

        if (!$row->check()) {
                JError::raiseError(500, $row->getError());
              }


Clone Instance
6
Line Count
2
Source Line
234
Source File
administrator/components/com_newsfeeds/admin.newsfeeds.php

        // pre-save checks
        if (!$row->check()) {
                JError::raiseError(500, $row->getError());
              }


Clone Instance
7
Line Count
2
Source Line
245
Source File
administrator/components/com_newsfeeds/admin.newsfeeds.php

        // save the changes
        if (!$row->store()) {
                JError::raiseError(500, $row->getError());
              }


Clone Instance
8
Line Count
2
Source Line
312
Source File
administrator/components/com_newsfeeds/admin.newsfeeds.php

        if (!$db->query()) {
                JError::raiseError(500, $db->getErrorMsg());
              }


Clone Instance
9
Line Count
2
Source Line
445
Source File
administrator/components/com_newsfeeds/admin.newsfeeds.php

                        if (!$row->store()) {
                                JError::raiseError(500, $db->getErrorMsg());
                              }


Clone Instance
10
Line Count
2
Source Line
74
Source File
administrator/components/com_plugins/controller.php

                if (!$row->check()) {
                        JError::raiseError(500, $row->getError());
                      }


Clone Instance
11
Line Count
2
Source Line
77
Source File
administrator/components/com_plugins/controller.php

                if (!$row->store()) {
                        JError::raiseError(500, $row->getError());
                      }


Clone Instance
12
Line Count
2
Source Line
129
Source File
administrator/components/com_plugins/controller.php

                if (!$db->query()) {
                        JError::raiseError(500, $db->getErrorMsg());
                      }


Clone Instance
13
Line Count
2
Source Line
251
Source File
administrator/components/com_plugins/controller.php

                                if (!$row->store()) {
                                        JError::raiseError(500, $db->getErrorMsg());
                                      }


Clone Instance
14
Line Count
2
Source Line
109
Source File
components/com_banners/models/banner.php

                        if (!$db->query()) {
                                JError::raiseError(500, $db->stderror());
                              }


Clone Instance
15
Line Count
2
Source Line
126
Source File
components/com_banners/models/banner.php

                                if (!$db->query()) {
                                        JError::raiseError(500, $db->stderror());
                                      }


Clone Instance
16
Line Count
2
Source Line
151
Source File
components/com_banners/models/banner.php

                if (!$db->query()) {
                        JError::raiseError(500, $db->stderror());
                      }


Clone Instance
17
Line Count
2
Source Line
162
Source File
components/com_banners/models/banner.php

                        if (!$db->query()) {
                                JError::raiseError(500, $db->stderror());
                              }


Clone Instance
18
Line Count
3
Source Line
183
Source File
components/com_banners/models/banner.php

                if (!$db->query())
                {
                        JError::raiseError(500, $db->stderr());
                      }


Clone AbstractionParameter Count: 4Parameter Bindings

// pre-save checks
// save the changes
if (! [[#variable249f2060]]-> [[#variable3e615fc0]]()) {
  JError::raiseError(500, [[#variable45ffc100]]-> [[#variable249f2000]]());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#249f2060]]
$row 
12[[#249f2060]]
$db 
13[[#249f2060]]
$row 
14[[#249f2060]]
$row 
15[[#249f2060]]
$db 
16[[#249f2060]]
$db 
17[[#249f2060]]
$db 
18[[#249f2060]]
$db 
19[[#249f2060]]
$row 
110[[#249f2060]]
$row 
111[[#249f2060]]
$row 
112[[#249f2060]]
$db 
113[[#249f2060]]
$row 
114[[#249f2060]]
$row 
115[[#249f2060]]
$row 
116[[#249f2060]]
$db 
117[[#249f2060]]
$db 
118[[#249f2060]]
$row 
21[[#3e615fc0]]
check 
22[[#3e615fc0]]
query 
23[[#3e615fc0]]
store 
24[[#3e615fc0]]
store 
25[[#3e615fc0]]
query 
26[[#3e615fc0]]
query 
27[[#3e615fc0]]
query 
28[[#3e615fc0]]
query 
29[[#3e615fc0]]
store 
210[[#3e615fc0]]
check 
211[[#3e615fc0]]
store 
212[[#3e615fc0]]
query 
213[[#3e615fc0]]
store 
214[[#3e615fc0]]
check 
215[[#3e615fc0]]
check 
216[[#3e615fc0]]
query 
217[[#3e615fc0]]
query 
218[[#3e615fc0]]
store 
31[[#45ffc100]]
$row 
32[[#45ffc100]]
$db 
33[[#45ffc100]]
$db 
34[[#45ffc100]]
$row 
35[[#45ffc100]]
$db 
36[[#45ffc100]]
$db 
37[[#45ffc100]]
$db 
38[[#45ffc100]]
$db 
39[[#45ffc100]]
$db 
310[[#45ffc100]]
$row 
311[[#45ffc100]]
$row 
312[[#45ffc100]]
$db 
313[[#45ffc100]]
$db 
314[[#45ffc100]]
$row 
315[[#45ffc100]]
$row 
316[[#45ffc100]]
$db 
317[[#45ffc100]]
$db 
318[[#45ffc100]]
$row 
41[[#249f2000]]
getError 
42[[#249f2000]]
stderror 
43[[#249f2000]]
getErrorMsg 
44[[#249f2000]]
getError 
45[[#249f2000]]
getErrorMsg 
46[[#249f2000]]
stderr 
47[[#249f2000]]
stderror 
48[[#249f2000]]
stderror 
49[[#249f2000]]
getErrorMsg 
410[[#249f2000]]
getError 
411[[#249f2000]]
getError 
412[[#249f2000]]
getErrorMsg 
413[[#249f2000]]
getErrorMsg 
414[[#249f2000]]
getError 
415[[#249f2000]]
getError 
416[[#249f2000]]
getErrorMsg 
417[[#249f2000]]
stderror 
418[[#249f2000]]
getError