Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.989 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 972 | libraries/joomla/database/tablenested.php |
2 | 5 | 1058 | libraries/joomla/database/tablenested.php |
| ||||
// Shift left and right values for the sibling and it's children. $this->_db->setQuery( 'UPDATE `' . $this->_tbl . '`' . ' SET `lft` = `lft` + ' . (int) $node->width . ', `rgt` = `rgt` + ' . (int) $node->width . ' WHERE `lft` BETWEEN ' . (int) $sibling->lft . ' AND ' . (int) $sibling->rgt . ' AND `' . $this->_tbl_key . '` NOT IN (' . implode(',', $children) . ')'); |
| ||||
// Shift left and right values for the sibling and it's children. $this->_db->setQuery( 'UPDATE `' . $this->_tbl . '`' . ' SET `lft` = `lft` - ' . (int) $node->width . ', `rgt` = `rgt` - ' . (int) $node->width . ' WHERE `lft` BETWEEN ' . (int) $sibling->lft . ' AND ' . (int) $sibling->rgt . ' AND `' . $this->_tbl_key . '` NOT IN (' . implode(',', $children) . ')'); |
| |||
// Shift left and right values for the sibling and it's children. $this->_db->setQuery('UPDATE `' . $this->_tbl . '`' . [[#variable2461b460]] . (int) $node->width . [[#variable2461b4a0]] . (int) $node->width . ' WHERE `lft` BETWEEN ' . (int) $sibling->lft . ' AND ' . (int) $sibling->rgt . ' AND `' . $this->_tbl_key . '` NOT IN (' . implode(',',$children) . ')'); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2461b460]] | ' SET `lft` = `lft` - ' |
1 | 2 | [[#2461b460]] | ' SET `lft` = `lft` + ' |
2 | 1 | [[#2461b4a0]] | ', `rgt` = `rgt` - ' |
2 | 2 | [[#2461b4a0]] | ', `rgt` = `rgt` + ' |