CloneSet1473


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.976statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14608
administrator/components/com_content/models/article.php
24685
administrator/components/com_menus/models/item.php
Clone Instance
1
Line Count
4
Source Line
608
Source File
administrator/components/com_content/models/article.php

                        $db->setQuery(
                                'UPDATE #__menu'
                                . ' SET menutype = '
                                .                  $db->quote($menuType)
                                . ' WHERE id IN ('
                                .                implode(',', $children)
                                .                                        ')');


Clone Instance
2
Line Count
4
Source Line
685
Source File
administrator/components/com_menus/models/item.php

                        // Update the menutype field in all nodes where necessary.
                        $db->setQuery(
                                'UPDATE `#__menu`'
                                . ' SET `menutype` = '
                                .                    $db->quote($menuType)
                                . ' WHERE `id` IN ('
                                .                  implode(',', $children)
                                .                                          ')');


Clone AbstractionParameter Count: 3Parameter Bindings

// Update the menutype field in all nodes where necessary.
$db->setQuery( [[#variable515f6460]]
              .  [[#variable515f5460]]
              . $db->quote($menuType)
              .  [[#variable515f6480]]
              . implode(',',$children)
              . ')');
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#515f6460]]
'UPDATE #__menu' 
12[[#515f6460]]
'UPDATE `#__menu`' 
21[[#515f5460]]
' SET menutype = ' 
22[[#515f5460]]
' SET `menutype` = ' 
31[[#515f6480]]
' WHERE id IN (' 
32[[#515f6480]]
' WHERE `id` IN ('