Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.979 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 86 | administrator/components/com_search/helpers/search.php |
2 | 5 | 93 | administrator/components/com_search/helpers/search.php |
| ||||
$query= 'SELECT hits' . ' FROM #__core_log_searches' . ' WHERE LOWER(search_term) = "' . $search_term . '"'; $db->setQuery($query); |
| ||||
$query= 'UPDATE #__core_log_searches' . ' SET hits = (hits + 1)' . ' WHERE LOWER(search_term) = "' . $search_term . '"'; $db->setQuery($query); |
| |||
$query= [[#variable44bec5a0]] . [[#variable44bc7460]] . ' WHERE LOWER(search_term) = "' . $search_term . '"'; $db->setQuery($query); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#44bec5a0]] | 'UPDATE #__core_log_searches' |
1 | 2 | [[#44bec5a0]] | 'SELECT hits' |
2 | 1 | [[#44bc7460]] | ' SET hits = (hits + 1)' |
2 | 2 | [[#44bc7460]] | ' FROM #__core_log_searches' |