CloneSet1512


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.983statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14957
libraries/joomla/database/tablenested.php
241043
libraries/joomla/database/tablenested.php
Clone Instance
1
Line Count
4
Source Line
957
Source File
libraries/joomla/database/tablenested.php

                // Shift left and right values for the node and it's children.
                $this->_db->setQuery(
                        'UPDATE `'
                        .          $this->_tbl
                        .                      '`'
                        . ' SET `lft` = `lft` - '
                        .                       (int) $sibling->width
                        .                                             ', `rgt` = `rgt` - '
                        .                                                                  (int) $sibling->width
                        .                                                                                        ''
                        . ' WHERE `lft` BETWEEN '
                        .                       (int) $node->lft
                        .                                        ' AND '
                        .                                                (int) $node->rgt);


Clone Instance
2
Line Count
4
Source Line
1043
Source File
libraries/joomla/database/tablenested.php

                // Shift left and right values for the node and it's children.
                $this->_db->setQuery(
                        'UPDATE `'
                        .          $this->_tbl
                        .                      '`'
                        . ' SET `lft` = `lft` + '
                        .                       (int) $sibling->width
                        .                                             ', `rgt` = `rgt` + '
                        .                                                                  (int) $sibling->width
                        .                                                                                        ''
                        . ' WHERE `lft` BETWEEN '
                        .                       (int) $node->lft
                        .                                        ' AND '
                        .                                                (int) $node->rgt);


Clone AbstractionParameter Count: 2Parameter Bindings

// Shift left and right values for the node and it's children.
$this->_db->setQuery('UPDATE `'
                     . $this->_tbl
                     . '`'
                     .  [[#variable48799780]]
                     . (int) $sibling->width
                     .  [[#variable48799700]]
                     . (int) $sibling->width
                     . ''
                     . ' WHERE `lft` BETWEEN '
                     . (int) $node->lft
                     . ' AND '
                     . (int) $node->rgt);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#48799780]]
' SET `lft` = `lft` + ' 
12[[#48799780]]
' SET `lft` = `lft` - ' 
21[[#48799700]]
', `rgt` = `rgt` + ' 
22[[#48799700]]
', `rgt` = `rgt` - '