CloneSet759


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.991statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11037
libraries/joomla/form/fields/componentlayouts.php
21034
libraries/joomla/html/parameter/element/componentlayouts.php
Clone Instance
1
Line Count
10
Source Line
37
Source File
libraries/joomla/form/fields/componentlayouts.php

                $path1=           NULL;
                $path2=           NULL;

                // Load template entries for each menuid
                $db=                     & JFactory::getDBO();
                $query=           'SELECT template'
                                  . ' FROM #__menu_template'
                                  . ' WHERE client_id = 0 AND home = 1';
                $db->setQuery($query);
                $template=        $db->loadResult();


Clone Instance
2
Line Count
10
Source Line
34
Source File
libraries/joomla/html/parameter/element/componentlayouts.php

                $path1=           NULL;
                $path2=           NULL;

                // Load template entries for each menuid
                $db=                     & JFactory::getDBO();
                $query=           'SELECT template'
                                  . ' FROM #__templates_menu'
                                  . ' WHERE client_id = 0 AND menuid = 0';
                $db->setQuery($query);
                $template=        $db->loadResult();


Clone AbstractionParameter Count: 2Parameter Bindings

$path1=NULL;
$path2=NULL;
// Load template entries for each menuid
$db= &JFactory::getDBO();
$query='SELECT template'
       .  [[#variable51fa33e0]]
       .  [[#variable51fa3560]];
$db->setQuery($query);
$template=$db->loadResult();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#51fa33e0]]
' FROM #__menu_template' 
12[[#51fa33e0]]
' FROM #__templates_menu' 
21[[#51fa3560]]
' WHERE client_id = 0 AND home = 1' 
22[[#51fa3560]]
' WHERE client_id = 0 AND menuid = 0'