CloneSet396


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.967statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151036
libraries/joomla/installer/adapters/component.php
251089
libraries/joomla/installer/adapters/component.php
Clone Instance
1
Line Count
5
Source Line
1036
Source File
libraries/joomla/installer/adapters/component.php

                        // This works because exists will be zero (autoincr)
                        // or the old component id
                        $query=  'INSERT INTO #__components'
                                 . ' VALUES('
                                 .         $exists
                                 .                  ', '
                                 .                       $db->Quote($db_name)
                                 .                                            ', '
                                 .                                                 $db->Quote($db_link)
                                 .                                                                      ', '
                                 .                                                                           (int) $db_menuid
                                 .                                                                                            ','
                                 . ' '
                                 .  (int) $db_parent
                                 .                   ', '
                                 .                        $db->Quote($db_admin_menu_link)
                                 .                                                        ', '
                                 .                                                             $db->Quote($db_admin_menu_alt)
                                 .                                                                                            ','
                                 . ' '
                                 .  $db->Quote($db_option)
                                 .                         ', '
                                 .                              (int) $db_ordering
                                 .                                                 ', '
                                 .                                                      $db->Quote($db_admin_menu_img)
                                 .                                                                                     ','
                                 . ' '
                                 .  (int) $db_iscore
                                 .                   ', '
                                 .                        $db->Quote($db_params)
                        .                                                        ', '
                        .                                                             (int) $db_enabled
                        .                                                                               ')';


Clone Instance
2
Line Count
5
Source Line
1089
Source File
libraries/joomla/installer/adapters/component.php

                                $query=  'INSERT INTO #__components'
                                         . ' VALUES("", '
                                         .             $db->Quote($db_name)
                                         .                                  ', '
                                         .                                       $db->Quote($db_link)
                                         .                                                            ', '
                                         .                                                                 (int) $db_menuid
                                         .                                                                                  ','
                                         . ' '
                                         .  (int) $db_parent
                                         .                   ', '
                                         .                        $db->Quote($db_admin_menu_link)
                                         .                                                        ', '
                                         .                                                             $db->Quote($db_admin_menu_alt)
                                         .                                                                                            ','
                                         . ' '
                                         .  $db->Quote($db_option)
                                         .                         ', '
                                         .                              (int) $db_ordering
                                         .                                                 ', '
                                         .                                                      $db->Quote($db_admin_menu_img)
                                         .                                                                                     ','
                                         . ' '
                                         .  (int) $db_iscore
                                         .                   ', '
                                         .                        $db->Quote($db_params)
                                .                                                        ', '
                                .                                                             (int) $db_enabled
                                .                                                                               ')';


Clone AbstractionParameter Count: 2Parameter Bindings

// This works because exists will be zero (autoincr)
// or the old component id
$query= [[#variable40728500]]
       .  [[#variable40728540]]
       . $db->Quote($db_name)
       . ', '
       . $db->Quote($db_link)
       . ', '
       . (int) $db_menuid
       . ','
       . ' '
       . (int) $db_parent
       . ', '
       . $db->Quote($db_admin_menu_link)
       . ', '
       . $db->Quote($db_admin_menu_alt)
       . ','
       . ' '
       . $db->Quote($db_option)
       . ', '
       . (int) $db_ordering
       . ', '
       . $db->Quote($db_admin_menu_img)
       . ','
       . ' '
       . (int) $db_iscore
       . ', '
       . $db->Quote($db_params)
. ', '
. (int) $db_enabled
. ')';
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#40728500]]
'INSERT INTO #__components'
. ' VALUES('
. $exists 
12[[#40728500]]
'INSERT INTO #__components' 
21[[#40728540]]
', ' 
22[[#40728540]]
' VALUES("", '