Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.989 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 66 | administrator/components/com_users/models/level.php |
2 | 8 | 205 | administrator/components/com_users/models/level.php |
| ||||
$db->setQuery( 'SELECT `section_id`' . ' FROM `#__access_assetgroups`' . ' WHERE `id` = ' . (int) $levelId); $sectionId= $db->loadResult(); $item= & JAccessHelper::getAccessLevel( (int) $levelId,(int) $sectionId); |
| ||||
$db->setQuery( 'SELECT `section_id`' . ' FROM `#__access_assetgroups`' . ' WHERE `id` = ' . (int) $levelId); $sectionId= $db->loadResult(); $return= & JAccessHelper::removeAccessLevel( (int) $levelId,(int) $sectionId); |
| |||
$db->setQuery('SELECT `section_id`' . ' FROM `#__access_assetgroups`' . ' WHERE `id` = ' . (int) $levelId); $sectionId=$db->loadResult(); [[#variable2311b180]]= &JAccessHelper:: [[#variable2311b100]]( (int) $levelId,(int) $sectionId); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2311b180]] | $return |
1 | 2 | [[#2311b180]] | $item |
2 | 1 | [[#2311b100]] | removeAccessLevel |
2 | 2 | [[#2311b100]] | getAccessLevel |