Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 1 | 0.973 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 230 | libraries/joomla/database/tablenested.php |
2 | 6 | 942 | libraries/joomla/database/tablenested.php |
3 | 6 | 1028 | libraries/joomla/database/tablenested.php |
| ||||
// Get the ids of child nodes. $this->_db->setQuery( 'SELECT `' . $k . '`' . ' FROM `' . $this->_tbl . '`' . ' WHERE `lft` BETWEEN ' . (int) $node->lft . ' AND ' . (int) $node->rgt); $children= $this->_db->loadResultArray(); |
| ||||
// Get the primary keys of child nodes. $this->_db->setQuery( 'SELECT `' . $this->_tbl_key . '`' . ' FROM `' . $this->_tbl . '`' . ' WHERE `lft` BETWEEN ' . (int) $node->lft . ' AND ' . (int) $node->rgt); $children= $this->_db->loadResultArray(); |
| ||||
// Get the primary keys of child nodes. $this->_db->setQuery( 'SELECT `' . $this->_tbl_key . '`' . ' FROM `' . $this->_tbl . '`' . ' WHERE `lft` BETWEEN ' . (int) $node->lft . ' AND ' . (int) $node->rgt); $children= $this->_db->loadResultArray(); |
| |||
// Get the primary keys of child nodes. // Get the ids of child nodes. $this->_db->setQuery('SELECT `' . [[#variable3c3b1780]] . '`' . ' FROM `' . $this->_tbl . '`' . ' WHERE `lft` BETWEEN ' . (int) $node->lft . ' AND ' . (int) $node->rgt); $children=$this->_db->loadResultArray(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3c3b1780]] | $this->_tbl_key |
1 | 2 | [[#3c3b1780]] | $k |
1 | 3 | [[#3c3b1780]] | $this->_tbl_key |