CloneSet852


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.976if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1516
modules/mod_whosonline/tmpl/default.php
2528
modules/mod_whosonline/tmpl/default.php
Clone Instance
1
Line Count
5
Source Line
16
Source File
modules/mod_whosonline/tmpl/default.php

                if ($count['guest'] == 1):
                    echo JText::sprintf('guest', '1');
                else :
                    if ($count['guest']>  1):
                            echo JText::sprintf('guests', $count['guest']);
                    endif;
                endif;


Clone Instance
2
Line Count
5
Source Line
28
Source File
modules/mod_whosonline/tmpl/default.php

                if ($count['user'] == 1):
                    echo JText::sprintf('member', '1');
                else :
                    if ($count['user']>  1):
                            echo JText::sprintf('users', $count['user']);
                    endif;
                endif;


Clone AbstractionParameter Count: 3Parameter Bindings

if ($count[ [[#variable242b2c40]]] == 1):
  echo JText::sprintf( [[#variable242b2be0]],'1');
else :
  if ($count[ [[#variable242b2c40]]]>1):
    echo JText::sprintf( [[#variable242b2b80]],$count[ [[#variable242b2c40]]]);
  endif;
endif;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#242b2c40]]
'user' 
12[[#242b2c40]]
'guest' 
21[[#242b2be0]]
'member' 
22[[#242b2be0]]
'guest' 
31[[#242b2b80]]
'users' 
32[[#242b2b80]]
'guests'