Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.978 | toplevel_statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 35 | administrator/modules/mod_logged/mod_logged.php |
2 | 8 | 47 | administrator/modules/mod_logged/mod_logged.php |
| ||||
// get the total number of records $query= 'SELECT COUNT(*)' . ' FROM #__session' . ' WHERE userid != 0' . $and . ' ORDER BY usertype, username'; $db->setQuery($query); $total= $db->loadResult(); |
| ||||
$query= 'SELECT username, time, userid, usertype, client_id' . ' FROM #__session' . ' WHERE userid != 0' . $and . ' ORDER BY usertype, username'; $db->setQuery($query); $rows= $db->loadObjectList(); |
| |||
// get the total number of records $query= [[#variable53887640]] . ' FROM #__session' . ' WHERE userid != 0' . $and . ' ORDER BY usertype, username'; $db->setQuery($query); [[#variable214a47c0]]=$db-> [[#variable523322a0]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53887640]] | 'SELECT username, time, userid, usertype, client_id' |
1 | 2 | [[#53887640]] | 'SELECT COUNT(*)' |
2 | 1 | [[#214a47c0]] | $rows |
2 | 2 | [[#214a47c0]] | $total |
3 | 1 | [[#523322a0]] | loadObjectList |
3 | 2 | [[#523322a0]] | loadResult |