| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 18 | 4 | 0.955 | if_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 272 | administrator/components/com_contact/admin.contact.php |
| 2 | 2 | 283 | administrator/components/com_contact/admin.contact.php |
| 3 | 2 | 381 | administrator/components/com_contact/admin.contact.php |
| 4 | 2 | 485 | administrator/components/com_contact/admin.contact.php |
| 5 | 2 | 253 | administrator/components/com_messages/admin.messages.php |
| 6 | 2 | 234 | administrator/components/com_newsfeeds/admin.newsfeeds.php |
| 7 | 2 | 245 | administrator/components/com_newsfeeds/admin.newsfeeds.php |
| 8 | 2 | 312 | administrator/components/com_newsfeeds/admin.newsfeeds.php |
| 9 | 2 | 445 | administrator/components/com_newsfeeds/admin.newsfeeds.php |
| 10 | 2 | 74 | administrator/components/com_plugins/controller.php |
| 11 | 2 | 77 | administrator/components/com_plugins/controller.php |
| 12 | 2 | 129 | administrator/components/com_plugins/controller.php |
| 13 | 2 | 251 | administrator/components/com_plugins/controller.php |
| 14 | 2 | 109 | components/com_banners/models/banner.php |
| 15 | 2 | 126 | components/com_banners/models/banner.php |
| 16 | 2 | 151 | components/com_banners/models/banner.php |
| 17 | 2 | 162 | components/com_banners/models/banner.php |
| 18 | 3 | 183 | components/com_banners/models/banner.php |
| ||||
// pre-save checks
if (!$row->check()) {
JError::raiseError(500, $row->getError());
}
|
| ||||
// save the changes
if (!$row->store()) {
JError::raiseError(500, $row->getError());
}
|
| ||||
if (!$db->query()) {
JError::raiseError(500, $db->getErrorMsg());
}
|
| ||||
if (!$row->store()) {
JError::raiseError(500, $db->getErrorMsg());
}
|
| ||||
if (!$row->check()) {
JError::raiseError(500, $row->getError());
}
|
| ||||
// pre-save checks
if (!$row->check()) {
JError::raiseError(500, $row->getError());
}
|
| ||||
// save the changes
if (!$row->store()) {
JError::raiseError(500, $row->getError());
}
|
| ||||
if (!$db->query()) {
JError::raiseError(500, $db->getErrorMsg());
}
|
| ||||
if (!$row->store()) {
JError::raiseError(500, $db->getErrorMsg());
}
|
| ||||
if (!$row->check()) {
JError::raiseError(500, $row->getError());
}
|
| ||||
if (!$row->store()) {
JError::raiseError(500, $row->getError());
}
|
| ||||
if (!$db->query()) {
JError::raiseError(500, $db->getErrorMsg());
}
|
| ||||
if (!$row->store()) {
JError::raiseError(500, $db->getErrorMsg());
}
|
| ||||
if (!$db->query()) {
JError::raiseError(500, $db->stderror());
}
|
| ||||
if (!$db->query()) {
JError::raiseError(500, $db->stderror());
}
|
| ||||
if (!$db->query()) {
JError::raiseError(500, $db->stderror());
}
|
| ||||
if (!$db->query()) {
JError::raiseError(500, $db->stderror());
}
|
| ||||
if (!$db->query())
{
JError::raiseError(500, $db->stderr());
}
|
| |||
// pre-save checks
// save the changes
if (! [[#variable249f2060]]-> [[#variable3e615fc0]]()) {
JError::raiseError(500, [[#variable45ffc100]]-> [[#variable249f2000]]());
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#249f2060]] | $row |
| 1 | 2 | [[#249f2060]] | $db |
| 1 | 3 | [[#249f2060]] | $row |
| 1 | 4 | [[#249f2060]] | $row |
| 1 | 5 | [[#249f2060]] | $db |
| 1 | 6 | [[#249f2060]] | $db |
| 1 | 7 | [[#249f2060]] | $db |
| 1 | 8 | [[#249f2060]] | $db |
| 1 | 9 | [[#249f2060]] | $row |
| 1 | 10 | [[#249f2060]] | $row |
| 1 | 11 | [[#249f2060]] | $row |
| 1 | 12 | [[#249f2060]] | $db |
| 1 | 13 | [[#249f2060]] | $row |
| 1 | 14 | [[#249f2060]] | $row |
| 1 | 15 | [[#249f2060]] | $row |
| 1 | 16 | [[#249f2060]] | $db |
| 1 | 17 | [[#249f2060]] | $db |
| 1 | 18 | [[#249f2060]] | $row |
| 2 | 1 | [[#3e615fc0]] | check |
| 2 | 2 | [[#3e615fc0]] | query |
| 2 | 3 | [[#3e615fc0]] | store |
| 2 | 4 | [[#3e615fc0]] | store |
| 2 | 5 | [[#3e615fc0]] | query |
| 2 | 6 | [[#3e615fc0]] | query |
| 2 | 7 | [[#3e615fc0]] | query |
| 2 | 8 | [[#3e615fc0]] | query |
| 2 | 9 | [[#3e615fc0]] | store |
| 2 | 10 | [[#3e615fc0]] | check |
| 2 | 11 | [[#3e615fc0]] | store |
| 2 | 12 | [[#3e615fc0]] | query |
| 2 | 13 | [[#3e615fc0]] | store |
| 2 | 14 | [[#3e615fc0]] | check |
| 2 | 15 | [[#3e615fc0]] | check |
| 2 | 16 | [[#3e615fc0]] | query |
| 2 | 17 | [[#3e615fc0]] | query |
| 2 | 18 | [[#3e615fc0]] | store |
| 3 | 1 | [[#45ffc100]] | $row |
| 3 | 2 | [[#45ffc100]] | $db |
| 3 | 3 | [[#45ffc100]] | $db |
| 3 | 4 | [[#45ffc100]] | $row |
| 3 | 5 | [[#45ffc100]] | $db |
| 3 | 6 | [[#45ffc100]] | $db |
| 3 | 7 | [[#45ffc100]] | $db |
| 3 | 8 | [[#45ffc100]] | $db |
| 3 | 9 | [[#45ffc100]] | $db |
| 3 | 10 | [[#45ffc100]] | $row |
| 3 | 11 | [[#45ffc100]] | $row |
| 3 | 12 | [[#45ffc100]] | $db |
| 3 | 13 | [[#45ffc100]] | $db |
| 3 | 14 | [[#45ffc100]] | $row |
| 3 | 15 | [[#45ffc100]] | $row |
| 3 | 16 | [[#45ffc100]] | $db |
| 3 | 17 | [[#45ffc100]] | $db |
| 3 | 18 | [[#45ffc100]] | $row |
| 4 | 1 | [[#249f2000]] | getError |
| 4 | 2 | [[#249f2000]] | stderror |
| 4 | 3 | [[#249f2000]] | getErrorMsg |
| 4 | 4 | [[#249f2000]] | getError |
| 4 | 5 | [[#249f2000]] | getErrorMsg |
| 4 | 6 | [[#249f2000]] | stderr |
| 4 | 7 | [[#249f2000]] | stderror |
| 4 | 8 | [[#249f2000]] | stderror |
| 4 | 9 | [[#249f2000]] | getErrorMsg |
| 4 | 10 | [[#249f2000]] | getError |
| 4 | 11 | [[#249f2000]] | getError |
| 4 | 12 | [[#249f2000]] | getErrorMsg |
| 4 | 13 | [[#249f2000]] | getErrorMsg |
| 4 | 14 | [[#249f2000]] | getError |
| 4 | 15 | [[#249f2000]] | getError |
| 4 | 16 | [[#249f2000]] | getErrorMsg |
| 4 | 17 | [[#249f2000]] | stderror |
| 4 | 18 | [[#249f2000]] | getError |