CloneSet786


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.986statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1654
administrator/components/com_modules/controller.php
26158
administrator/components/com_modules/controller.php
Clone Instance
1
Line Count
6
Source Line
54
Source File
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)');
                      }


Clone Instance
2
Line Count
6
Source Line
158
Source File
administrator/components/com_modules/controller.php

                $model=  $this->getModel('module');

                if ($model->delete($cid)) {
                        $msg=  JText::sprintf('Items removed', $n);
                      }
                else   {
                        $msg=  JText::_('Error Deleting');
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

$model=$this->getModel('module');
if ($model-> [[#variable238b90a0]]($cid)) {
  $msg=JText::sprintf( [[#variable238b90c0]],$n);
}
else {
  $msg=JText::_( [[#variable238b9080]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#238b90a0]]
copy 
12[[#238b90a0]]
delete 
21[[#238b90c0]]
'Items Copied' 
22[[#238b90c0]]
'Items removed' 
31[[#238b9080]]
'Error Copying Module(s)' 
32[[#238b9080]]
'Error Deleting'