Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 4 | 0.977 | statement_block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 290 | libraries/joomla/access/permission/accesslevel.php |
2 | 9 | 234 | libraries/joomla/access/permission/simplerule.php |
| ||||
{ $db= &$this-> getDbo(); $db->setQuery( 'SELECT `id`' . ' FROM `#__access_assetgroups`' . ' WHERE `title` = ' . $db->Quote($assetGroup) . ' AND `section_id` = ' . (int) $this->_section_id); $assetGroupId= (int) $db->loadResult(); } |
| ||||
{ $db= &$this-> getDbo(); $db->setQuery( 'SELECT `id`' . ' FROM `#__access_assets`' . ' WHERE `name` = ' . $db->Quote($asset) . ' AND `section_id` = ' . (int) $this->_section_id); $assetId= (int) $db->loadResult(); } |
| |||
{ $db= &$this->getDbo(); $db->setQuery('SELECT `id`' . [[#variable22fdc020]] . [[#variable3daafe80]] . $db->Quote( [[#variable3daafda0]]) . ' AND `section_id` = ' . (int) $this->_section_id); [[#variable3daaff00]]= (int) $db->loadResult(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22fdc020]] | ' FROM `#__access_assetgroups`' |
1 | 2 | [[#22fdc020]] | ' FROM `#__access_assets`' |
2 | 1 | [[#3daafe80]] | ' WHERE `title` = ' |
2 | 2 | [[#3daafe80]] | ' WHERE `name` = ' |
3 | 1 | [[#3daafda0]] | $assetGroup |
3 | 2 | [[#3daafda0]] | $asset |
4 | 1 | [[#3daaff00]] | $assetGroupId |
4 | 2 | [[#3daaff00]] | $assetId |