Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 3 | 0.972 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 52 | administrator/components/com_categories/models/category.php |
2 | 4 | 53 | administrator/components/com_content/models/article.php |
3 | 4 | 53 | administrator/components/com_menus/models/item.php |
4 | 4 | 53 | administrator/components/com_menus/models/menu.php |
| ||||
// Load the User state. if (!($pk= (int) $app->getUserState('com_categories.edit.category.id'))) { $pk= (int) JRequest::getInt('item_id'); } $this->setState('category.id', $pk); |
| ||||
// Load the User state. if (!($pk= (int) $app->getUserState('com_content.edit.article.id'))) { $pk= (int) JRequest::getInt('item_id'); } $this->setState('article.id', $pk); |
| ||||
// Load the User state. if (!($pk= (int) $app->getUserState('com_menus.edit.item.id'))) { $pk= (int) JRequest::getInt('item_id'); } $this->setState('item.id', $pk); |
| ||||
// Load the User state. if (!($id= (int) $app->getUserState('com_menus.edit.menu.id'))) { $id= (int) JRequest::getInt('item_id'); } $this->setState('menu.id', $id); |
| |||
// Load the User state. if (!( [[#variable490cddc0]]= (int) $app->getUserState( [[#variable490cdd20]]))) { [[#variable490cddc0]]= (int) JRequest::getInt('item_id'); } $this->setState( [[#variable490cdd60]], [[#variable490cddc0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#490cddc0]] | $id |
1 | 2 | [[#490cddc0]] | $pk |
1 | 3 | [[#490cddc0]] | $pk |
1 | 4 | [[#490cddc0]] | $pk |
2 | 1 | [[#490cdd20]] | 'com_menus.edit.menu.id' |
2 | 2 | [[#490cdd20]] | 'com_menus.edit.item.id' |
2 | 3 | [[#490cdd20]] | 'com_content.edit.article.id' |
2 | 4 | [[#490cdd20]] | 'com_categories.edit.category.id' |
3 | 1 | [[#490cdd60]] | 'menu.id' |
3 | 2 | [[#490cdd60]] | 'item.id' |
3 | 3 | [[#490cdd60]] | 'article.id' |
3 | 4 | [[#490cdd60]] | 'category.id' |