CloneSet1144


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2340.952if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12253
administrator/components/com_contact/admin.contact.php
22317
administrator/components/com_content/controllers/article.php
3267
administrator/components/com_content/controllers/articles.php
Clone Instance
1
Line Count
2
Source Line
253
Source File
administrator/components/com_contact/admin.contact.php

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


Clone Instance
2
Line Count
2
Source Line
317
Source File
administrator/components/com_content/controllers/article.php

                        // Remove the items.
                        if (!$model->delete($cid)) {
                                JError::raiseWarning(500, $model->getError());
                              }


Clone Instance
3
Line Count
2
Source Line
67
Source File
administrator/components/com_content/controllers/articles.php

                        // Remove the items.
                        if (!$model->delete($ids)) {
                                JError::raiseWarning(500, $model->getError());
                              }


Clone AbstractionParameter Count: 4Parameter Bindings

// Remove the items.
if (! [[#variable2301c8c0]]-> [[#variable2301c820]]( [[#variable2301c780]])) {
  JError:: [[#variable2301c700]](500, [[#variable2301c8c0]]->getError());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2301c8c0]]
$row 
12[[#2301c8c0]]
$model 
13[[#2301c8c0]]
$model 
21[[#2301c820]]
bind 
22[[#2301c820]]
delete 
23[[#2301c820]]
delete 
31[[#2301c780]]
$post 
32[[#2301c780]]
$cid 
33[[#2301c780]]
$ids 
41[[#2301c700]]
raiseError 
42[[#2301c700]]
raiseWarning 
43[[#2301c700]]
raiseWarning