Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 2 | 0.988 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 300 | administrator/components/com_content/models/article.php |
2 | 7 | 381 | administrator/components/com_menus/models/item.php |
3 | 9 | 453 | administrator/components/com_users/models/user.php |
| ||||
$this->_db->setQuery( 'INSERT INTO #__content_frontpage (`content_id`, `ordering`)' . ' VALUES ' . implode(',', $tuples)); if (!$this->_db->query()) { $this->setError($this->_db->getErrorMsg()); return FALSE; } |
| ||||
$this->_db->setQuery( 'INSERT INTO #__modules_menu (moduleid, menuid)' . ' VALUES ' . implode(',', $adds)); if (!$this->_db->query()) { $this->setError($this->_db->getErrorMsg()); return FALSE; } |
| ||||
$this->_db->setQuery( 'INSERT IGNORE INTO `#__core_acl_groups_aro_map` (`aro_id`, `group_id`)' . ' VALUES ' . implode(',', $tuples)); // Check for database errors. if (!$this->_db->query()) { $this->setError($this->_db->getErrorMsg()); return FALSE; } |
| |||
$this->_db->setQuery( [[#variable460d3800]] . ' VALUES ' . implode(',', [[#variable460d37a0]])); // Check for database errors. if (!$this->_db->query()) { $this->setError($this->_db->getErrorMsg()); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#460d3800]] | 'INSERT IGNORE INTO `#__core_acl_groups_aro_map` (`aro_id`, `group_id`)' |
1 | 2 | [[#460d3800]] | 'INSERT INTO #__modules_menu (moduleid, menuid)' |
1 | 3 | [[#460d3800]] | 'INSERT INTO #__content_frontpage (`content_id`, `ordering`)' |
2 | 1 | [[#460d37a0]] | $tuples |
2 | 2 | [[#460d37a0]] | $adds |
2 | 3 | [[#460d37a0]] | $tuples |