CloneSet1139


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000toplevel_statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1628
administrator/modules/mod_status/mod_status.php
2715
administrator/modules/mod_unread/mod_unread.php
Clone Instance
1
Line Count
6
Source Line
28
Source File
administrator/modules/mod_status/mod_status.php

// Get the number of unread messages in your inbox
$query=  'SELECT COUNT(*)'
         . ' FROM #__messages'
         . ' WHERE state = 0'
         . ' AND user_id_to = '
         .             (int) $user->get('id');
$db->setQuery($query);
$unread=  $db->loadResult();


Clone Instance
2
Line Count
7
Source Line
15
Source File
administrator/modules/mod_unread/mod_unread.php

$query=  'SELECT COUNT(*)'
         . ' FROM #__messages'
         . ' WHERE state = 0'
         . ' AND user_id_to = '
         .             (int) $user->get('id');
$db->setQuery($query);
$unread=  $db->loadResult();


Clone AbstractionParameter Count: 0Parameter Bindings

// Get the number of unread messages in your inbox
$query='SELECT COUNT(*)'
       . ' FROM #__messages'
       . ' WHERE state = 0'
       . ' AND user_id_to = '
       . (int) $user->get('id');
$db->setQuery($query);
$unread=$db->loadResult();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None