CloneSet1834


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.968additive_expression
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1360
administrator/components/com_templates/helpers/template.php
23272
libraries/joomla/installer/adapters/template.php
Clone Instance
1
Line Count
3
Source Line
60
Source File
administrator/components/com_templates/helpers/template.php

                // check if template is assigned
                $query=  'SELECT COUNT(*) FROM #__menu_template'
                         .      ' WHERE template = '
                         .                           $db->Quote($template)
                         .      ' AND client_id = '
                         .                          $db->Quote($client_id)


Clone Instance
2
Line Count
3
Source Line
272
Source File
libraries/joomla/installer/adapters/template.php

                $query=  'DELETE FROM #__menu_template'
                         .      ' WHERE template = '
                         .                           $db->Quote($name)
                         .      ' AND client_id = '
                         .                          $db->Quote($clientId)


Clone AbstractionParameter Count: 3Parameter Bindings

// check if template is assigned
$query= [[#variable3c6b4ee0]]
       . ' WHERE template = '
       . $db->Quote( [[#variable3c6b4e80]])
       . ' AND client_id = '
       . $db->Quote( [[#variable3c6b4e00]])
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3c6b4ee0]]
'SELECT COUNT(*) FROM #__menu_template' 
12[[#3c6b4ee0]]
'DELETE FROM #__menu_template' 
21[[#3c6b4e80]]
$template 
22[[#3c6b4e80]]
$name 
31[[#3c6b4e00]]
$client_id 
32[[#3c6b4e00]]
$clientId