Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.969 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 152 | administrator/components/com_modules/models/module.php |
2 | 5 | 159 | administrator/components/com_modules/models/module.php |
| ||||
// template assignment filter $query= 'SELECT DISTINCT template' . ' FROM #__menu_template' . ' WHERE client_id = ' . (int) $this->_client->id; $this->_db->setQuery($query); $templates= $this->_db->loadObjectList(); |
| ||||
// Get a list of all module positions as set in the database $query= 'SELECT DISTINCT(position)' . ' FROM #__modules' . ' WHERE client_id = ' . (int) $this->_client->id; $this->_db->setQuery($query); $positions= $this->_db->loadResultArray(); |
| |||
// Get a list of all module positions as set in the database // template assignment filter $query= [[#variable52645700]] . [[#variable526456c0]] . ' WHERE client_id = ' . (int) $this->_client->id; $this->_db->setQuery($query); [[#variable526440e0]]=$this->_db-> [[#variable524c5a80]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52645700]] | 'SELECT DISTINCT(position)' |
1 | 2 | [[#52645700]] | 'SELECT DISTINCT template' |
2 | 1 | [[#526456c0]] | ' FROM #__modules' |
2 | 2 | [[#526456c0]] | ' FROM #__menu_template' |
3 | 1 | [[#526440e0]] | $positions |
3 | 2 | [[#526440e0]] | $templates |
4 | 1 | [[#524c5a80]] | loadResultArray |
4 | 2 | [[#524c5a80]] | loadObjectList |