CloneSet1320


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.978toplevel_statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1835
administrator/modules/mod_logged/mod_logged.php
2847
administrator/modules/mod_logged/mod_logged.php
Clone Instance
1
Line Count
8
Source Line
35
Source File
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();


Clone Instance
2
Line Count
8
Source Line
47
Source File
administrator/modules/mod_logged/mod_logged.php

$query=  'SELECT username, time, userid, usertype, client_id'
         . ' FROM #__session'
         . ' WHERE userid != 0'
         . $and
         . ' ORDER BY usertype, username';

$db->setQuery($query);
$rows=  $db->loadObjectList();


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53887640]]
'SELECT username, time, userid, usertype, client_id' 
12[[#53887640]]
'SELECT COUNT(*)' 
21[[#214a47c0]]
$rows 
22[[#214a47c0]]
$total 
31[[#523322a0]]
loadObjectList 
32[[#523322a0]]
loadResult