CloneSet413


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.966statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17718
libraries/bitfolge/feedcreator.php
27727
libraries/bitfolge/feedcreator.php
Clone Instance
1
Line Count
7
Source Line
718
Source File
libraries/bitfolge/feedcreator.php

                $pos=  strrpos($string,".");
                if ($pos>=$length-4) {
                        $string=  substr($string,0,$length-4);
                        $pos=  strrpos($string,".");
                      }
                if ($pos>=$length*0.4) {
                        return substr($string,0,$pos+1)
                               .                        " ...";
                      }


Clone Instance
2
Line Count
7
Source Line
727
Source File
libraries/bitfolge/feedcreator.php

                $pos=  strrpos($string," ");
                if ($pos>=$length-4) {
                        $string=  substr($string,0,$length-4);
                        $pos=  strrpos($string," ");
                      }
                if ($pos>=$length*0.4) {
                        return substr($string,0,$pos)
                               .                      " ...";
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

$pos=strrpos($string, [[#variable241a6b60]]);
if ($pos>=$length-4) {
  $string=substr($string,0,$length-4);
  $pos=strrpos($string, [[#variable241a6b60]]);
}
if ($pos>=$length*0.4) {
  return substr($string,0, [[#variable241a6b40]])
         . " ...";
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#241a6b60]]
"." 
12[[#241a6b60]]
" " 
21[[#241a6b40]]
$pos+1 
22[[#241a6b40]]
$pos