CloneSet194


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10730.984statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110365
libraries/joomla/access/access.php
210105
libraries/joomla/access/helper.php
310176
libraries/joomla/access/helper.php
410371
libraries/joomla/access/helper.php
510456
libraries/joomla/access/helper.php
610517
libraries/joomla/access/helper.php
710719
libraries/joomla/access/helper.php
Clone Instance
1
Line Count
10
Source Line
365
Source File
libraries/joomla/access/access.php

                // Check to see if the section exists.
                $db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_sections`'
                        . ' WHERE `name` = '
                        .                  $db->Quote($section));
                $sectionId=  $db->loadResult();

                // Check for a database error.
                if ($db->getErrorNum()) {
                        return new JException($db->getErrorMsg());
                      }


Clone Instance
2
Line Count
10
Source Line
105
Source File
libraries/joomla/access/helper.php

                        // Check to see if the section exists.
                        $db->setQuery(
                                'SELECT `id`'
                                . ' FROM `#__access_sections`'
                                . ' WHERE `name` = '
                                .                  $db->Quote($section));
                        $sectionId=  $db->loadResult();

                        // Check for a database error.
                        if ($db->getErrorNum()) {
                                return new JException($db->getErrorMsg());
                              }


Clone Instance
3
Line Count
10
Source Line
176
Source File
libraries/joomla/access/helper.php

                // Check to see if the section already exists.
                $db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_sections`'
                        . ' WHERE `name` = '
                        .                  $db->Quote($name));
                $sectionId=  $db->loadResult();

                // Check for a database error.
                if ($db->getErrorNum()) {
                        return new JException($db->getErrorMsg());
                      }


Clone Instance
4
Line Count
10
Source Line
371
Source File
libraries/joomla/access/helper.php

                // Check to see if the section exists.
                $db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_sections`'
                        . ' WHERE `name` = '
                        .                  $db->Quote($section));
                $sectionId=  $db->loadResult();

                // Check for a database error.
                if ($db->getErrorNum()) {
                        return new JException($db->getErrorMsg());
                      }


Clone Instance
5
Line Count
10
Source Line
456
Source File
libraries/joomla/access/helper.php

                // Get the id for the action.
                $db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_actions`'
                        . ' WHERE `name` = '
                        .                  $db->Quote($name));
                $actionId=  $db->loadResult();

                // Check for a database error.
                if ($db->getErrorNum()) {
                        return new JException($db->getErrorMsg());
                      }


Clone Instance
6
Line Count
10
Source Line
517
Source File
libraries/joomla/access/helper.php

                        // Check to see if the section already exists.
                        $db->setQuery(
                                'SELECT `id`'
                                . ' FROM `#__access_sections`'
                                . ' WHERE `name` = '
                                .                  $db->Quote($section));
                        $sectionId=  $db->loadResult();

                        // Check for a database error.
                        if ($db->getErrorNum()) {
                                return new JException($db->getErrorMsg());
                              }


Clone Instance
7
Line Count
10
Source Line
719
Source File
libraries/joomla/access/helper.php

                // Check to see if the section already exists.
                $db->setQuery(
                        'SELECT `id`'
                        . ' FROM `#__access_sections`'
                        . ' WHERE `name` = '
                        .                  $db->Quote($section));
                $sectionId=  $db->loadResult();

                // Check for a database error.
                if ($db->getErrorNum()) {
                        return new JException($db->getErrorMsg());
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Check to see if the section exists.
// Check to see if the section already exists.
// Get the id for the action.
$db->setQuery('SELECT `id`'
              .  [[#variable55789240]]
              . ' WHERE `name` = '
              . $db->Quote( [[#variable55789140]]));
 [[#variable55789180]]=$db->loadResult();
// Check for a database error.
if ($db->getErrorNum()) {
  return new JException($db->getErrorMsg());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55789240]]
' FROM `#__access_sections`' 
12[[#55789240]]
' FROM `#__access_sections`' 
13[[#55789240]]
' FROM `#__access_actions`' 
14[[#55789240]]
' FROM `#__access_sections`' 
15[[#55789240]]
' FROM `#__access_sections`' 
16[[#55789240]]
' FROM `#__access_sections`' 
17[[#55789240]]
' FROM `#__access_sections`' 
21[[#55789140]]
$section 
22[[#55789140]]
$name 
23[[#55789140]]
$name 
24[[#55789140]]
$section 
25[[#55789140]]
$section 
26[[#55789140]]
$section 
27[[#55789140]]
$section 
31[[#55789180]]
$sectionId 
32[[#55789180]]
$sectionId 
33[[#55789180]]
$actionId 
34[[#55789180]]
$sectionId 
35[[#55789180]]
$sectionId 
36[[#55789180]]
$sectionId 
37[[#55789180]]
$sectionId