| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 30 | 3 | 0.952 | if_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 253 | administrator/components/com_categories/models/category.php |
| 2 | 3 | 259 | administrator/components/com_categories/models/category.php |
| 3 | 3 | 174 | administrator/components/com_content/models/article.php |
| 4 | 3 | 180 | administrator/components/com_content/models/article.php |
| 5 | 4 | 489 | administrator/components/com_content/models/article.php |
| 6 | 3 | 599 | administrator/components/com_content/models/article.php |
| 7 | 4 | 613 | administrator/components/com_content/models/article.php |
| 8 | 3 | 621 | administrator/components/com_content/models/article.php |
| 9 | 3 | 303 | administrator/components/com_menus/models/item.php |
| 10 | 3 | 309 | administrator/components/com_menus/models/item.php |
| 11 | 3 | 665 | administrator/components/com_menus/models/item.php |
| 12 | 3 | 671 | administrator/components/com_menus/models/item.php |
| 13 | 3 | 142 | administrator/components/com_menus/models/menu.php |
| 14 | 3 | 366 | administrator/components/com_redirect/models/link.php |
| 15 | 3 | 80 | administrator/components/com_users/models/config.php |
| 16 | 3 | 86 | administrator/components/com_users/models/config.php |
| 17 | 3 | 115 | administrator/components/com_users/models/config.php |
| 18 | 3 | 121 | administrator/components/com_users/models/config.php |
| 19 | 3 | 178 | administrator/components/com_users/models/group.php |
| 20 | 3 | 238 | administrator/components/com_users/models/group.php |
| 21 | 3 | 164 | administrator/components/com_users/models/level.php |
| 22 | 3 | 233 | administrator/components/com_weblinks/models/weblink.php |
| 23 | 3 | 255 | components/com_users/models/profile.php |
| 24 | 3 | 186 | components/com_users/models/registration.php |
| 25 | 3 | 267 | components/com_users/models/registration.php |
| 26 | 3 | 232 | installation/models/configuration.php |
| 27 | 3 | 241 | installation/models/configuration.php |
| 28 | 3 | 206 | libraries/joomla/database/table/usergroup.php |
| 29 | 4 | 1233 | libraries/joomla/database/tablenested.php |
| 30 | 3 | 529 | libraries/joomla/user/user.php |
| ||||
// Check the data.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Store the data.
if (!$table->store()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Check the data.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Store the data.
if (!$table->store()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
if (!$table->store())
{
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Store the row.
if (!$table->store()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
if (!$db->query())
{
$this->setError($db->getErrorMsg());
return FALSE;
}
|
| ||||
// Rebuild the hierarchy.
if (!$table->rebuildTree()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Check the data.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Store the data.
if (!$table->store()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Store the row.
if (!$table->store()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Rebuild the tree path.
if (!$table->rebuildPath()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Check the data.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Check the data.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Check for errors.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Attempt to store the data.
if (!$table->store()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Check for errors.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Attempt to store the data.
if (!$table->store()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Check the data.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
if (!$rule->store()) {
$this->setError($rule->getErrorMsg());
return FALSE;
}
|
| ||||
// Store the access level.
if (!$item->store()) {
$this->setError($item->getError());
return FALSE;
}
|
| ||||
// Check the data
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| ||||
// Store the data.
if (!$user->save()) {
$this->setError($user->getError());
return FALSE;
}
|
| ||||
// Store the data.
if (!$user->save()) {
$this->setError($user->getError());
return FALSE;
}
|
| ||||
// Store the user object.
if (!$user->save()) {
$this->setError($user->getError());
return FALSE;
}
|
| ||||
if (!$db->query()) {
$this->setError($db->getErrorMsg());
return FALSE;
}
|
| ||||
if (!$db->query()) {
$this->setError($db->getErrorMsg());
return FALSE;
}
|
| ||||
if (!$db->query()) {
$this->setError($db->getErrorMsg());
return FALSE;
}
|
| ||||
// If there is an update failure, return false to break out of the recursion.
if (!$db->query())
{
$this->setError($db->getErrorMsg());
return FALSE;
}
|
| ||||
// Check and store the object.
if (!$table->check()) {
$this->setError($table->getError());
return FALSE;
}
|
| |||
// Rebuild the hierarchy.
// Store the access level.
// Check the data.
// Rebuild the tree path.
// Store the data.
// If there is an update failure, return false to break out of the recursion.
// Check and store the object.
// Store the row.
// Attempt to store the data.
// Check for errors.
// Check the data
// Store the user object.
if (! [[#variable45078ce0]]-> [[#variable45078c80]]()) {
$this->setError( [[#variable45078ce0]]-> [[#variable45078c00]]());
return FALSE;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#45078ce0]] | $table |
| 1 | 2 | [[#45078ce0]] | $db |
| 1 | 3 | [[#45078ce0]] | $table |
| 1 | 4 | [[#45078ce0]] | $item |
| 1 | 5 | [[#45078ce0]] | $table |
| 1 | 6 | [[#45078ce0]] | $table |
| 1 | 7 | [[#45078ce0]] | $user |
| 1 | 8 | [[#45078ce0]] | $rule |
| 1 | 9 | [[#45078ce0]] | $user |
| 1 | 10 | [[#45078ce0]] | $db |
| 1 | 11 | [[#45078ce0]] | $db |
| 1 | 12 | [[#45078ce0]] | $table |
| 1 | 13 | [[#45078ce0]] | $db |
| 1 | 14 | [[#45078ce0]] | $table |
| 1 | 15 | [[#45078ce0]] | $table |
| 1 | 16 | [[#45078ce0]] | $db |
| 1 | 17 | [[#45078ce0]] | $table |
| 1 | 18 | [[#45078ce0]] | $table |
| 1 | 19 | [[#45078ce0]] | $table |
| 1 | 20 | [[#45078ce0]] | $table |
| 1 | 21 | [[#45078ce0]] | $table |
| 1 | 22 | [[#45078ce0]] | $table |
| 1 | 23 | [[#45078ce0]] | $table |
| 1 | 24 | [[#45078ce0]] | $table |
| 1 | 25 | [[#45078ce0]] | $table |
| 1 | 26 | [[#45078ce0]] | $table |
| 1 | 27 | [[#45078ce0]] | $table |
| 1 | 28 | [[#45078ce0]] | $table |
| 1 | 29 | [[#45078ce0]] | $table |
| 1 | 30 | [[#45078ce0]] | $user |
| 2 | 1 | [[#45078c80]] | store |
| 2 | 2 | [[#45078c80]] | query |
| 2 | 3 | [[#45078c80]] | rebuildTree |
| 2 | 4 | [[#45078c80]] | store |
| 2 | 5 | [[#45078c80]] | check |
| 2 | 6 | [[#45078c80]] | rebuildPath |
| 2 | 7 | [[#45078c80]] | save |
| 2 | 8 | [[#45078c80]] | store |
| 2 | 9 | [[#45078c80]] | save |
| 2 | 10 | [[#45078c80]] | query |
| 2 | 11 | [[#45078c80]] | query |
| 2 | 12 | [[#45078c80]] | check |
| 2 | 13 | [[#45078c80]] | query |
| 2 | 14 | [[#45078c80]] | store |
| 2 | 15 | [[#45078c80]] | store |
| 2 | 16 | [[#45078c80]] | query |
| 2 | 17 | [[#45078c80]] | store |
| 2 | 18 | [[#45078c80]] | check |
| 2 | 19 | [[#45078c80]] | check |
| 2 | 20 | [[#45078c80]] | check |
| 2 | 21 | [[#45078c80]] | store |
| 2 | 22 | [[#45078c80]] | check |
| 2 | 23 | [[#45078c80]] | store |
| 2 | 24 | [[#45078c80]] | check |
| 2 | 25 | [[#45078c80]] | check |
| 2 | 26 | [[#45078c80]] | store |
| 2 | 27 | [[#45078c80]] | check |
| 2 | 28 | [[#45078c80]] | check |
| 2 | 29 | [[#45078c80]] | store |
| 2 | 30 | [[#45078c80]] | save |
| 3 | 1 | [[#45078c00]] | getError |
| 3 | 2 | [[#45078c00]] | getErrorMsg |
| 3 | 3 | [[#45078c00]] | getError |
| 3 | 4 | [[#45078c00]] | getError |
| 3 | 5 | [[#45078c00]] | getError |
| 3 | 6 | [[#45078c00]] | getError |
| 3 | 7 | [[#45078c00]] | getError |
| 3 | 8 | [[#45078c00]] | getErrorMsg |
| 3 | 9 | [[#45078c00]] | getError |
| 3 | 10 | [[#45078c00]] | getErrorMsg |
| 3 | 11 | [[#45078c00]] | getErrorMsg |
| 3 | 12 | [[#45078c00]] | getError |
| 3 | 13 | [[#45078c00]] | getErrorMsg |
| 3 | 14 | [[#45078c00]] | getError |
| 3 | 15 | [[#45078c00]] | getError |
| 3 | 16 | [[#45078c00]] | getErrorMsg |
| 3 | 17 | [[#45078c00]] | getError |
| 3 | 18 | [[#45078c00]] | getError |
| 3 | 19 | [[#45078c00]] | getError |
| 3 | 20 | [[#45078c00]] | getError |
| 3 | 21 | [[#45078c00]] | getError |
| 3 | 22 | [[#45078c00]] | getError |
| 3 | 23 | [[#45078c00]] | getError |
| 3 | 24 | [[#45078c00]] | getError |
| 3 | 25 | [[#45078c00]] | getError |
| 3 | 26 | [[#45078c00]] | getError |
| 3 | 27 | [[#45078c00]] | getError |
| 3 | 28 | [[#45078c00]] | getError |
| 3 | 29 | [[#45078c00]] | getError |
| 3 | 30 | [[#45078c00]] | getError |