Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.983 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 957 | libraries/joomla/database/tablenested.php |
2 | 4 | 1043 | 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); |
| ||||
// 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); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#48799780]] | ' SET `lft` = `lft` + ' |
1 | 2 | [[#48799780]] | ' SET `lft` = `lft` - ' |
2 | 1 | [[#48799700]] | ', `rgt` = `rgt` + ' |
2 | 2 | [[#48799700]] | ', `rgt` = `rgt` - ' |