Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.984 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 57 | modules/mod_stats/helper.php |
2 | 6 | 93 | modules/mod_stats/helper.php |
| ||||
$query= 'SELECT COUNT(id) AS count_items' . ' FROM #__content' . ' WHERE state = "1"'; $db->setQuery($query); $items= $db->loadResult(); |
| ||||
$query= 'SELECT SUM(hits) AS count_hits' . ' FROM #__content' . ' WHERE state = "1"'; $db->setQuery($query); $hits= $db->loadResult(); |
| |||
$query= [[#variable525b8f20]] . ' FROM #__content' . ' WHERE state = "1"'; $db->setQuery($query); [[#variable525b99c0]]=$db->loadResult(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#525b8f20]] | 'SELECT SUM(hits) AS count_hits' |
1 | 2 | [[#525b8f20]] | 'SELECT COUNT(id) AS count_items' |
2 | 1 | [[#525b99c0]] | $hits |
2 | 2 | [[#525b99c0]] | $items |