Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.966 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 718 | libraries/bitfolge/feedcreator.php |
2 | 7 | 727 | 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) . " ..."; } |
| ||||
$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) . " ..."; } |
| |||
$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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#241a6b60]] | "." |
1 | 2 | [[#241a6b60]] | " " |
2 | 1 | [[#241a6b40]] | $pos+1 |
2 | 2 | [[#241a6b40]] | $pos |