Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 4 | 0.952 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 253 | administrator/components/com_contact/admin.contact.php |
2 | 2 | 317 | administrator/components/com_content/controllers/article.php |
3 | 2 | 67 | administrator/components/com_content/controllers/articles.php |
| ||||
if (!$row->bind($post)) { JError::raiseError(500, $row->getError()); } |
| ||||
// Remove the items. if (!$model->delete($cid)) { JError::raiseWarning(500, $model->getError()); } |
| ||||
// Remove the items. if (!$model->delete($ids)) { JError::raiseWarning(500, $model->getError()); } |
| |||
// Remove the items. if (! [[#variable2301c8c0]]-> [[#variable2301c820]]( [[#variable2301c780]])) { JError:: [[#variable2301c700]](500, [[#variable2301c8c0]]->getError()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2301c8c0]] | $row |
1 | 2 | [[#2301c8c0]] | $model |
1 | 3 | [[#2301c8c0]] | $model |
2 | 1 | [[#2301c820]] | bind |
2 | 2 | [[#2301c820]] | delete |
2 | 3 | [[#2301c820]] | delete |
3 | 1 | [[#2301c780]] | $post |
3 | 2 | [[#2301c780]] | $cid |
3 | 3 | [[#2301c780]] | $ids |
4 | 1 | [[#2301c700]] | raiseError |
4 | 2 | [[#2301c700]] | raiseWarning |
4 | 3 | [[#2301c700]] | raiseWarning |