CloneSet246


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9310.994statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19134
administrator/modules/mod_feed/helper.php
210114
components/com_newsfeeds/views/newsfeed/view.html.php
3993
modules/mod_feed/tmpl/default.php
Clone Instance
1
Line Count
9
Source Line
134
Source File
administrator/modules/mod_feed/helper.php

                                                        $texts=  explode(' ', $text);
                                                        $count=  count($texts);
                                                        if ($count>  $words) {
                                                                $text=  '';
                                                                for ($i=  0; $i<  $words; $i ++)
                                                                {
                                                                        $text.=  ' '
                                                                                 .   $texts[$i];
                                                                      }
                                                                $text.=  '...';
                                                              }


Clone Instance
2
Line Count
10
Source Line
114
Source File
components/com_newsfeeds/views/newsfeed/view.html.php

                $texts=  explode(' ', $text);
                $count=  count($texts);

                if ($count>  $wordcount)
                {
                        $text=  '';
                        for ($i=0; $i<  $wordcount; $i ++) {
                                $text.=  ' '
                                         .    $texts[$i];
                              }
                        $text.=  '...';
                      }


Clone Instance
3
Line Count
9
Source Line
93
Source File
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.=  '...';
                                                      }


Clone AbstractionParameter Count: 1Parameter Bindings

$texts=explode(' ',$text);
$count=count($texts);
if ($count> [[#variable51fed2c0]]) {
  $text='';
  for ($i=0; $i< [[#variable51fed2c0]]; $i ++) {
    $text.=' '
           . $texts[$i];
  }
  $text.='...';
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#51fed2c0]]
$words 
12[[#51fed2c0]]
$wordcount 
13[[#51fed2c0]]
$words