CloneSet607


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1620.978statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1135
plugins/content/geshi.php
2135
plugins/content/loadmodule.php
3168
plugins/content/loadmodule.php
4147
plugins/content/pagebreak.php
5166
plugins/content/pagebreak.php
6184
plugins/content/pagebreak.php
Clone Instance
1
Line Count
1
Source Line
35
Source File
plugins/content/geshi.php

        // perform the replacement
        $row->text = preg_replace_callback($regex, 'plgContentGeshi_replacer', $row->text);


Clone Instance
2
Line Count
1
Source Line
35
Source File
plugins/content/loadmodule.php

                $row->text = preg_replace($regex, '', $row->text);


Clone Instance
3
Line Count
1
Source Line
68
Source File
plugins/content/loadmodule.php

        // removes tags without matching module positions
        $row->text = preg_replace($regex, '', $row->text);


Clone Instance
4
Line Count
1
Source Line
47
Source File
plugins/content/pagebreak.php

                $row->text = preg_replace($regex, '<br />', $row->text);


Clone Instance
5
Line Count
1
Source Line
66
Source File
plugins/content/pagebreak.php

                $row->text = preg_replace($regex, '', $row->text);


Clone Instance
6
Line Count
1
Source Line
84
Source File
plugins/content/pagebreak.php

                $row->text = preg_replace($regex, '<br/>', $row->text);


Clone AbstractionParameter Count: 2Parameter Bindings

// perform the replacement
// removes tags without matching module positions
$row->text = [[#variable50a5a940]]($regex, [[#variable50a5a980]],$row->text);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50a5a940]]
preg_replace 
12[[#50a5a940]]
preg_replace_callback 
13[[#50a5a940]]
preg_replace 
14[[#50a5a940]]
preg_replace 
15[[#50a5a940]]
preg_replace 
16[[#50a5a940]]
preg_replace 
21[[#50a5a980]]
'' 
22[[#50a5a980]]
'plgContentGeshi_replacer' 
23[[#50a5a980]]
'<br/>' 
24[[#50a5a980]]
'<br />' 
25[[#50a5a980]]
'' 
26[[#50a5a980]]
''