CloneSet2016


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.988statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121220
libraries/phpmailer/phpmailer.php
231227
libraries/phpmailer/phpmailer.php
Clone Instance
1
Line Count
2
Source Line
1220
Source File
libraries/phpmailer/phpmailer.php

            $encoded=  preg_replace("/([^A-Za-z0-9!*+\\/ -])/e","'='.sprintf('%02X', ord('\\1'))", $encoded);
            break;


Clone Instance
2
Line Count
3
Source Line
1227
Source File
libraries/phpmailer/phpmailer.php

            // Replace every high ascii, control =, ? and _ characters
            $encoded=  preg_replace('/([\\000-\\011\\013\\014\\016-\\037\\075\\077\\137\\177-\\377])/e',
                  "'='.sprintf('%02X', ord('\\1'))", $encoded);
            break;


Clone AbstractionParameter Count: 1Parameter Bindings

// Replace every high ascii, control =, ? and _ characters
$encoded=preg_replace( [[#variable402ca2a0]],"'='.sprintf('%02X', ord('\\1'))",$encoded);
break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#402ca2a0]]
"/([^A-Za-z0-9!*+\\/ -])/e" 
12[[#402ca2a0]]
'/([\\000-\\011\\013\\014\\016-\\037\\075\\077\\137\\177-\\377])/e'