Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.969 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1181 | libraries/joomla/database/tablenested.php |
2 | 6 | 44 | libraries/joomla/html/html/category.php |
| ||||
jimport('joomla.database.query'); $query= new JQuery; $query->select('id, alias'); $query->from($this->_tbl); $query->where('parent_id = %d'); |
| ||||
jimport('joomla.database.query'); $query= new JQuery; $query->select('a.id, a.title, a.level'); $query->from('#__categories AS a'); $query->where('a.parent_id > 0'); |
| |||
jimport('joomla.database.query'); $query=new JQuery; $query->select( [[#variable468ddf40]]); $query->from( [[#variable468ddea0]]); $query->where( [[#variable468ddde0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#468ddf40]] | 'a.id, a.title, a.level' |
1 | 2 | [[#468ddf40]] | 'id, alias' |
2 | 1 | [[#468ddea0]] | '#__categories AS a' |
2 | 2 | [[#468ddea0]] | $this->_tbl |
3 | 1 | [[#468ddde0]] | 'a.parent_id > 0' |
3 | 2 | [[#468ddde0]] | 'parent_id = %d' |