Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 6 | 1 | 0.990 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 164 | administrator/components/com_templates/models/template.php |
2 | 2 | 172 | administrator/components/com_templates/models/template.php |
3 | 2 | 203 | administrator/components/com_templates/models/template.php |
4 | 2 | 263 | administrator/components/com_templates/models/template.php |
5 | 2 | 290 | administrator/components/com_templates/models/template.php |
6 | 2 | 301 | administrator/components/com_templates/models/template.php |
| ||||
$query= 'UPDATE #__menu_template SET home=1 WHERE id=' . $this->_db->Quote($this->_id); $this->_db->setQuery($query); |
| ||||
$query= 'UPDATE #__menu SET template_id=0 WHERE template_id=' . $this->_db->Quote($this->_id); $this->_db->setQuery($query); |
| ||||
$query= 'SELECT * FROM #__menu_template WHERE id = ' . $this->_db->Quote($this->_id); $this->_db->setQuery($query); |
| ||||
$query= 'SELECT params FROM #__menu_template WHERE id = ' . $this->_db->Quote($this->_id); $this->_db->setQuery($query); |
| ||||
$query= 'DELETE FROM #__menu_template WHERE id = ' . $this->_db->Quote($this->_id); $this->_db->setQuery($query); |
| ||||
$query= 'UPDATE #__menu_template SET home=1 WHERE id=' . $this->_db->Quote($this->_id); $this->_db->setQuery($query); |
| |||
$query= [[#variable490fb3c0]] . $this->_db->Quote($this->_id); $this->_db->setQuery($query); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#490fb3c0]] | 'UPDATE #__menu_template SET home=1 WHERE id=' |
1 | 2 | [[#490fb3c0]] | 'UPDATE #__menu SET template_id=0 WHERE template_id=' |
1 | 3 | [[#490fb3c0]] | 'SELECT * FROM #__menu_template WHERE id = ' |
1 | 4 | [[#490fb3c0]] | 'SELECT params FROM #__menu_template WHERE id = ' |
1 | 5 | [[#490fb3c0]] | 'DELETE FROM #__menu_template WHERE id = ' |
1 | 6 | [[#490fb3c0]] | 'UPDATE #__menu_template SET home=1 WHERE id=' |