Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 0 | 1.000 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 280 | libraries/joomla/database/tablenested.php |
2 | 6 | 663 | libraries/joomla/database/tablenested.php |
| ||||
// Get the last root node as the reference node. $this->_db->setQuery( 'SELECT `' . $this->_tbl_key . '`, `parent_id`, `level`, `lft`, `rgt`' . ' FROM `' . $this->_tbl . '`' . ' WHERE `parent_id` = 0' . ' ORDER BY `lft` DESC',0,1); |
| ||||
// Get the last root node as the reference node. $this->_db->setQuery( 'SELECT `' . $this->_tbl_key . '`, `parent_id`, `level`, `lft`, `rgt`' . ' FROM `' . $this->_tbl . '`' . ' WHERE `parent_id` = 0' . ' ORDER BY `lft` DESC',0,1); |
| |||
// Get the last root node as the reference node. $this->_db->setQuery('SELECT `' . $this->_tbl_key . '`, `parent_id`, `level`, `lft`, `rgt`' . ' FROM `' . $this->_tbl . '`' . ' WHERE `parent_id` = 0' . ' ORDER BY `lft` DESC',0,1); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |