CloneSet663


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3530.971case
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13127
libraries/joomla/filter/filterinput.php
23131
libraries/joomla/filter/filterinput.php
33140
libraries/joomla/filter/filterinput.php
43164
libraries/joomla/filter/filterinput.php
53226
libraries/joomla/utilities/arrayhelper.php
Clone Instance
1
Line Count
3
Source Line
127
Source File
libraries/joomla/filter/filterinput.php

                        case 'WORD' :
                                $result=  (string) preg_replace('/[^A-Z_]/i', '', $source);
                                break;


Clone Instance
2
Line Count
3
Source Line
131
Source File
libraries/joomla/filter/filterinput.php

                        case 'ALNUM' :
                                $result=  (string) preg_replace('/[^A-Z0-9]/i', '', $source);
                                break;


Clone Instance
3
Line Count
3
Source Line
140
Source File
libraries/joomla/filter/filterinput.php

                        case 'BASE64' :
                                $result=  (string) preg_replace('/[^A-Z0-9\\/+=]/i','', $source);
                                break;


Clone Instance
4
Line Count
3
Source Line
164
Source File
libraries/joomla/filter/filterinput.php

                        case 'USERNAME' :
                                $result=  (string) preg_replace('/[\\x00-\\x1F\\x7F<>"\'%&]/','',$source);
                                break;


Clone Instance
5
Line Count
3
Source Line
226
Source File
libraries/joomla/utilities/arrayhelper.php

                        case 'WORD' :
                                $result=  (string) preg_replace('#\\W#','', $result);
                                break;


Clone AbstractionParameter Count: 3Parameter Bindings

case [[#variable21ed47e0]]:
  $result= (string) preg_replace( [[#variable21ed4780]],'', [[#variable21ed4720]]);
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#21ed47e0]]
'USERNAME' 
12[[#21ed47e0]]
'BASE64' 
13[[#21ed47e0]]
'ALNUM' 
14[[#21ed47e0]]
'WORD' 
15[[#21ed47e0]]
'WORD' 
21[[#21ed4780]]
'/[\\x00-\\x1F\\x7F<>"\'%&]/' 
22[[#21ed4780]]
'/[^A-Z0-9\\/+=]/i' 
23[[#21ed4780]]
'/[^A-Z0-9]/i' 
24[[#21ed4780]]
'/[^A-Z_]/i' 
25[[#21ed4780]]
'#\\W#' 
31[[#21ed4720]]
$source 
32[[#21ed4720]]
$source 
33[[#21ed4720]]
$source 
34[[#21ed4720]]
$source 
35[[#21ed4720]]
$result