Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 7 | 3 | 0.960 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 209 | administrator/components/com_content/models/article.php |
2 | 4 | 178 | administrator/components/com_menus/models/menu.php |
3 | 3 | 360 | administrator/components/com_redirect/models/link.php |
4 | 3 | 172 | administrator/components/com_users/models/group.php |
5 | 3 | 291 | administrator/components/com_users/models/user.php |
6 | 3 | 385 | administrator/components/com_weblinks/models/weblink.php |
7 | 3 | 180 | components/com_users/models/profile.php |
| ||||
if (!$table->delete($itemId)) { $this->setError($table->getError()); return FALSE; } |
| ||||
// TODO: Delete the menu associations - Menu items and Modules if (!$table->delete($itemId)) { $this->setError($table->getError()); return FALSE; } |
| ||||
// Bind the data. if (!$table->bind($data)) { $this->setError($table->getError()); return FALSE; } |
| ||||
// Bind the data. if (!$table->bind($data)) { $this->setError($table->getError()); return FALSE; } |
| ||||
// Bind the data. if (!$user->bind($data)) { $this->setError($user->getError()); return FALSE; } |
| ||||
// Load the row. if (!$table->load($weblinkId)) { $this->setError($table->getError()); return FALSE; } |
| ||||
// Attempt to check the row in. if (!$table->checkin($memberId)) { $this->setError($table->getError()); return FALSE; } |
| |||
// Bind the data. // Load the row. // Attempt to check the row in. // TODO: Delete the menu associations - Menu items and Modules if (! [[#variable21bfd800]]-> [[#variable21bfd700]]( [[#variable21bfd720]])) { $this->setError( [[#variable21bfd800]]->getError()); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21bfd800]] | $user |
1 | 2 | [[#21bfd800]] | $table |
1 | 3 | [[#21bfd800]] | $table |
1 | 4 | [[#21bfd800]] | $table |
1 | 5 | [[#21bfd800]] | $table |
1 | 6 | [[#21bfd800]] | $table |
1 | 7 | [[#21bfd800]] | $table |
2 | 1 | [[#21bfd700]] | bind |
2 | 2 | [[#21bfd700]] | bind |
2 | 3 | [[#21bfd700]] | load |
2 | 4 | [[#21bfd700]] | checkin |
2 | 5 | [[#21bfd700]] | delete |
2 | 6 | [[#21bfd700]] | bind |
2 | 7 | [[#21bfd700]] | delete |
3 | 1 | [[#21bfd720]] | $data |
3 | 2 | [[#21bfd720]] | $data |
3 | 3 | [[#21bfd720]] | $weblinkId |
3 | 4 | [[#21bfd720]] | $memberId |
3 | 5 | [[#21bfd720]] | $itemId |
3 | 6 | [[#21bfd720]] | $data |
3 | 7 | [[#21bfd720]] | $itemId |