CloneSet1055


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9240.977statement_block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19290
libraries/joomla/access/permission/accesslevel.php
29234
libraries/joomla/access/permission/simplerule.php
Clone Instance
1
Line Count
9
Source Line
290
Source File
libraries/joomla/access/permission/accesslevel.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();
                      }


Clone Instance
2
Line Count
9
Source Line
234
Source File
libraries/joomla/access/permission/simplerule.php

                {
                        $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();
                      }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  $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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#22fdc020]]
' FROM `#__access_assetgroups`' 
12[[#22fdc020]]
' FROM `#__access_assets`' 
21[[#3daafe80]]
' WHERE `title` = ' 
22[[#3daafe80]]
' WHERE `name` = ' 
31[[#3daafda0]]
$assetGroup 
32[[#3daafda0]]
$asset 
41[[#3daaff00]]
$assetGroupId 
42[[#3daaff00]]
$assetId