Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.981 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 47 | administrator/components/com_users/controllers/level.json.php |
2 | 8 | 57 | administrator/components/com_users/controllers/level.json.php |
| ||||
// Check for validation errors. if ($return === FALSE) { JError::raiseError(500, $model->getError()); return FALSE; } // Attempt to save the data. $return= $model->save($data); |
| ||||
// Check for errors. if ($return === FALSE) { JError::raiseError(500, $model->getError()); return FALSE; } // Get the access level object. $level= $model->getItem($return); |
| |||
// Check for errors. // Check for validation errors. if ($return === FALSE) { JError::raiseError(500,$model->getError()); return FALSE; } [[#variable251f16e0]]=$model-> [[#variable24f95dc0]]( [[#variable251f0360]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#251f16e0]] | // Get the access level object. $level |
1 | 2 | [[#251f16e0]] | // Attempt to save the data. $return |
2 | 1 | [[#24f95dc0]] | getItem |
2 | 2 | [[#24f95dc0]] | save |
3 | 1 | [[#251f0360]] | $return |
3 | 2 | [[#251f0360]] | $data |