CloneSet390


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11430.984statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111463
libraries/joomla/database/table.php
211487
libraries/joomla/database/table.php
311656
libraries/joomla/database/table.php
411680
libraries/joomla/database/table.php
Clone Instance
1
Line Count
11
Source Line
463
Source File
libraries/joomla/database/table.php

                $this->_db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_sections`'
                        . ' WHERE `name` = '
                        .                  $this->_db->Quote($section));
                $sectionId=  $this->_db->loadResult();

                // Check for a database error.
                if ($this->_db->getErrorNum()) {
                        $this->setError($this->_db->getErrorMsg());
                        return FALSE;
                      }


Clone Instance
2
Line Count
11
Source Line
487
Source File
libraries/joomla/database/table.php

                // Get the asset id for the asset.
                $this->_db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_assets`'
                        . ' WHERE `name` = '
                        .                  $this->_db->Quote($name));
                $assetId=  $this->_db->loadResult();

                // Check for a database error.
                if ($this->_db->getErrorNum()) {
                        $this->setError($this->_db->getErrorMsg());
                        return FALSE;
                      }


Clone Instance
3
Line Count
11
Source Line
656
Source File
libraries/joomla/database/table.php

                $this->_db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_sections`'
                        . ' WHERE `name` = '
                        .                  $this->_db->Quote($section));
                $sectionId=  $this->_db->loadResult();

                // Check for a database error.
                if ($this->_db->getErrorNum()) {
                        $this->setError($this->_db->getErrorMsg());
                        return FALSE;
                      }


Clone Instance
4
Line Count
11
Source Line
680
Source File
libraries/joomla/database/table.php

                // Get the asset id for the asset.
                $this->_db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_assets`'
                        . ' WHERE `name` = '
                        .                  $this->_db->Quote($name));
                $assetId=  $this->_db->loadResult();

                // Check for a database error.
                if ($this->_db->getErrorNum()) {
                        $this->setError($this->_db->getErrorMsg());
                        return FALSE;
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Get the asset id for the asset.
$this->_db->setQuery('SELECT `id`'
                     .  [[#variable2447cec0]]
                     . ' WHERE `name` = '
                     . $this->_db->Quote( [[#variable2447cde0]]));
 [[#variable2447cdc0]]=$this->_db->loadResult();
// Check for a database error.
if ($this->_db->getErrorNum()) {
  $this->setError($this->_db->getErrorMsg());
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2447cec0]]
' FROM `#__access_sections`' 
12[[#2447cec0]]
' FROM `#__access_assets`' 
13[[#2447cec0]]
' FROM `#__access_sections`' 
14[[#2447cec0]]
' FROM `#__access_assets`' 
21[[#2447cde0]]
$section 
22[[#2447cde0]]
$name 
23[[#2447cde0]]
$section 
24[[#2447cde0]]
$name 
31[[#2447cdc0]]
$sectionId 
32[[#2447cdc0]]
$assetId 
33[[#2447cdc0]]
$sectionId 
34[[#2447cdc0]]
$assetId