Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 1 | 0.994 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 134 | administrator/modules/mod_feed/helper.php |
2 | 10 | 114 | components/com_newsfeeds/views/newsfeed/view.html.php |
3 | 9 | 93 | modules/mod_feed/tmpl/default.php |
| ||||
$texts= explode(' ', $text); $count= count($texts); if ($count> $words) { $text= ''; for ($i= 0; $i< $words; $i ++) { $text.= ' ' . $texts[$i]; } $text.= '...'; } |
| ||||
$texts= explode(' ', $text); $count= count($texts); if ($count> $wordcount) { $text= ''; for ($i=0; $i< $wordcount; $i ++) { $text.= ' ' . $texts[$i]; } $text.= '...'; } |
| ||||
$texts= explode(' ', $text); $count= count($texts); if ($count> $words) { $text= ''; for ($i= 0; $i< $words; $i ++) { $text.= ' ' . $texts[$i]; } $text.= '...'; } |
| |||
$texts=explode(' ',$text); $count=count($texts); if ($count> [[#variable51fed2c0]]) { $text=''; for ($i=0; $i< [[#variable51fed2c0]]; $i ++) { $text.=' ' . $texts[$i]; } $text.='...'; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#51fed2c0]] | $words |
1 | 2 | [[#51fed2c0]] | $wordcount |
1 | 3 | [[#51fed2c0]] | $words |