Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 5 | 3 | 0.961 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 95 | libraries/joomla/database/query.php |
2 | 7 | 109 | libraries/joomla/database/query.php |
3 | 7 | 193 | libraries/joomla/database/query.php |
4 | 7 | 207 | libraries/joomla/database/query.php |
5 | 7 | 221 | libraries/joomla/database/query.php |
| ||||
if (is_null($this->_select)) { $this->_select = new JQueryElement('SELECT', $columns); } else { $this->_select->append($columns); } return $this; |
| ||||
if (is_null($this->_from)) { $this->_from = new JQueryElement('FROM', $tables); } else { $this->_from->append($tables); } return $this; |
| ||||
if (is_null($this->_group)) { $this->_group = new JQueryElement('GROUP BY', $columns); } else { $this->_group->append($columns); } return $this; |
| ||||
if (is_null($this->_having)) { $this->_having = new JQueryElement('HAVING', $columns); } else { $this->_having->append($columns); } return $this; |
| ||||
if (is_null($this->_order)) { $this->_order = new JQueryElement('ORDER BY', $columns); } else { $this->_order->append($columns); } return $this; |
| |||
if (is_null($this-> [[#variable524a92e0]])) { $this-> [[#variable524a92e0]]=new JQueryElement( [[#variable524a9280]], [[#variable524a9120]]); } else { $this-> [[#variable524a92e0]]->append( [[#variable524a9120]]); } return $this; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#524a92e0]] | _select |
1 | 2 | [[#524a92e0]] | _from |
1 | 3 | [[#524a92e0]] | _group |
1 | 4 | [[#524a92e0]] | _having |
1 | 5 | [[#524a92e0]] | _order |
2 | 1 | [[#524a9280]] | 'SELECT' |
2 | 2 | [[#524a9280]] | 'FROM' |
2 | 3 | [[#524a9280]] | 'GROUP BY' |
2 | 4 | [[#524a9280]] | 'HAVING' |
2 | 5 | [[#524a9280]] | 'ORDER BY' |
3 | 1 | [[#524a9120]] | $columns |
3 | 2 | [[#524a9120]] | $tables |
3 | 3 | [[#524a9120]] | $columns |
3 | 4 | [[#524a9120]] | $columns |
3 | 5 | [[#524a9120]] | $columns |