Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.972 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 45 | administrator/components/com_users/controllers/config.php |
2 | 2 | 51 | administrator/components/com_users/controllers/config.php |
3 | 2 | 43 | administrator/components/com_users/controllers/level.json.php |
| ||||
$model= &$this->getModel('Config'); $return= $model->import($string); |
| ||||
// Handle import via pasted string. $model= &$this->getModel('Config'); $return= $model->import($string); |
| ||||
// Get the model and attempt to validate the posted data. $model= &$this->getModel('Level'); $return= $model->validate($data); |
| |||
// Get the model and attempt to validate the posted data. // Handle import via pasted string. $model= &$this->getModel( [[#variable3da88480]]); $return=$model-> [[#variable3cfad260]]( [[#variable3df4d380]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3da88480]] | 'Level' |
1 | 2 | [[#3da88480]] | 'Config' |
1 | 3 | [[#3da88480]] | 'Config' |
2 | 1 | [[#3cfad260]] | validate |
2 | 2 | [[#3cfad260]] | import |
2 | 3 | [[#3cfad260]] | import |
3 | 1 | [[#3df4d380]] | $data |
3 | 2 | [[#3df4d380]] | $string |
3 | 3 | [[#3df4d380]] | $string |