Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.976 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 16 | modules/mod_whosonline/tmpl/default.php |
2 | 5 | 28 | 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; |
| ||||
if ($count['user'] == 1): echo JText::sprintf('member', '1'); else : if ($count['user']> 1): echo JText::sprintf('users', $count['user']); endif; endif; |
| |||
if ($count[ [[#variable242b2c40]]] == 1): echo JText::sprintf( [[#variable242b2be0]],'1'); else : if ($count[ [[#variable242b2c40]]]>1): echo JText::sprintf( [[#variable242b2b80]],$count[ [[#variable242b2c40]]]); endif; endif; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#242b2c40]] | 'user' |
1 | 2 | [[#242b2c40]] | 'guest' |
2 | 1 | [[#242b2be0]] | 'member' |
2 | 2 | [[#242b2be0]] | 'guest' |
3 | 1 | [[#242b2b80]] | 'users' |
3 | 2 | [[#242b2b80]] | 'guests' |