Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.986 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 54 | administrator/components/com_modules/controller.php |
2 | 6 | 158 | administrator/components/com_modules/controller.php |
| ||||
$model= $this->getModel('module'); if ($model->copy($cid)) { $msg= JText::sprintf('Items Copied', $n); } else { $msg= JText::_('Error Copying Module(s)'); } |
| ||||
$model= $this->getModel('module'); if ($model->delete($cid)) { $msg= JText::sprintf('Items removed', $n); } else { $msg= JText::_('Error Deleting'); } |
| |||
$model=$this->getModel('module'); if ($model-> [[#variable238b90a0]]($cid)) { $msg=JText::sprintf( [[#variable238b90c0]],$n); } else { $msg=JText::_( [[#variable238b9080]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#238b90a0]] | copy |
1 | 2 | [[#238b90a0]] | delete |
2 | 1 | [[#238b90c0]] | 'Items Copied' |
2 | 2 | [[#238b90c0]] | 'Items removed' |
3 | 1 | [[#238b9080]] | 'Error Copying Module(s)' |
3 | 2 | [[#238b9080]] | 'Error Deleting' |