CloneSet1569


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.974statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1423
administrator/components/com_templates/helpers/template.php
2434
administrator/components/com_templates/helpers/template.php
Clone Instance
1
Line Count
4
Source Line
23
Source File
administrator/components/com_templates/helpers/template.php

                // check if template is assigned
                $query=  'SELECT COUNT(*)'
                         .      ' FROM #__menu'
                         .      ' WHERE template_id = '
                         .                              $db->Quote($id);
                $db->setQuery($query);


Clone Instance
2
Line Count
4
Source Line
34
Source File
administrator/components/com_templates/helpers/template.php

                // check if template is assigned
                $query=  'SELECT home'
                         .      ' FROM #__menu_template'
                         .      ' WHERE id = '
                         .                     $db->Quote($id);
                $db->setQuery($query);


Clone AbstractionParameter Count: 3Parameter Bindings

// check if template is assigned
$query= [[#variable46920560]]
       .  [[#variable46d00420]]
       .  [[#variable46d01320]]
       . $db->Quote($id);
$db->setQuery($query);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46920560]]
'SELECT COUNT(*)' 
12[[#46920560]]
'SELECT home' 
21[[#46d00420]]
' FROM #__menu' 
22[[#46d00420]]
' FROM #__menu_template' 
31[[#46d01320]]
' WHERE template_id = ' 
32[[#46d01320]]
' WHERE id = '