Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 6 | 0.978 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 57 | administrator/components/com_categories/models/category.php |
2 | 7 | 58 | administrator/components/com_menus/models/item.php |
| ||||
if (!($parentId= $app->getUserState('com_categories.edit.category.parent_id'))) { $parentId= JRequest::getInt('parent_id'); } $this->setState('category.parent_id', $parentId); if (!($extension= $app->getUserState('com_categories.edit.category.extension'))) { $extension= JRequest::getCmd('extension', 'com_content'); } |
| ||||
if (!($parentId= $app->getUserState('com_menus.edit.item.parent_id'))) { $parentId= JRequest::getInt('parent_id'); } $this->setState('item.parent_id', $parentId); if (!($menuType= $app->getUserState('com_menus.edit.item.menutype'))) { $menuType= JRequest::getCmd('menutype', 'mainmenu'); } |
| |||
if (!($parentId=$app->getUserState( [[#variable46589700]]))) { $parentId=JRequest::getInt('parent_id'); } $this->setState( [[#variable46589660]],$parentId); if (!( [[#variable465895e0]]=$app->getUserState( [[#variable46589580]]))) { [[#variable465895e0]]=JRequest::getCmd( [[#variable46589160]], [[#variable46589540]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46589700]] | 'com_menus.edit.item.parent_id' |
1 | 2 | [[#46589700]] | 'com_categories.edit.category.parent_id' |
2 | 1 | [[#46589660]] | 'item.parent_id' |
2 | 2 | [[#46589660]] | 'category.parent_id' |
3 | 1 | [[#465895e0]] | $menuType |
3 | 2 | [[#465895e0]] | $extension |
4 | 1 | [[#46589580]] | 'com_menus.edit.item.menutype' |
4 | 2 | [[#46589580]] | 'com_categories.edit.category.extension' |
5 | 1 | [[#46589160]] | 'menutype' |
5 | 2 | [[#46589160]] | 'extension' |
6 | 1 | [[#46589540]] | 'mainmenu' |
6 | 2 | [[#46589540]] | 'com_content' |