CloneSet968


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3250.954statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131486
libraries/phpmailer/phpmailer.php
2485
plugins/authentication/openid/Auth/Yadis/ParseHTML.php
Clone Instance
1
Line Count
3
Source Line
1486
Source File
libraries/phpmailer/phpmailer.php

        $str=  str_replace("\r", "\n", $str);
        $str=  str_replace("\n", $this->LE ,$str);
        return $str;


Clone Instance
2
Line Count
4
Source Line
85
Source File
plugins/authentication/openid/Auth/Yadis/ParseHTML.php

        // Replace numeric entities because html_entity_decode doesn't
        // do it for us.
        $str=  preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $str);
        $str=  preg_replace('~&#([0-9]+);~e', 'chr(\\1)', $str);

        return $str;


Clone AbstractionParameter Count: 5Parameter Bindings

// Replace numeric entities because html_entity_decode doesn't
// do it for us.
$str= [[#variable23a97680]]( [[#variable23a975a0]], [[#variable23a97560]],$str);
$str= [[#variable23a97680]]( [[#variable23a974c0]], [[#variable23a973a0]],$str);
return $str;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#23a97680]]
str_replace 
12[[#23a97680]]
preg_replace 
21[[#23a975a0]]
"\r" 
22[[#23a975a0]]
'~&#x([0-9a-f]+);~ei' 
31[[#23a97560]]
"\n" 
32[[#23a97560]]
'chr(hexdec("\\1"))' 
41[[#23a974c0]]
"\n" 
42[[#23a974c0]]
'~&#([0-9]+);~e' 
51[[#23a973a0]]
$this->LE 
52[[#23a973a0]]
'chr(\\1)'