Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 6 | 2 | 0.978 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 35 | plugins/content/geshi.php |
2 | 1 | 35 | plugins/content/loadmodule.php |
3 | 1 | 68 | plugins/content/loadmodule.php |
4 | 1 | 47 | plugins/content/pagebreak.php |
5 | 1 | 66 | plugins/content/pagebreak.php |
6 | 1 | 84 | plugins/content/pagebreak.php |
| ||||
// perform the replacement $row->text = preg_replace_callback($regex, 'plgContentGeshi_replacer', $row->text); |
| ||||
$row->text = preg_replace($regex, '', $row->text); |
| ||||
// removes tags without matching module positions $row->text = preg_replace($regex, '', $row->text); |
| ||||
$row->text = preg_replace($regex, '<br />', $row->text); |
| ||||
$row->text = preg_replace($regex, '', $row->text); |
| ||||
$row->text = preg_replace($regex, '<br/>', $row->text); |
| |||
// perform the replacement // removes tags without matching module positions $row->text = [[#variable50a5a940]]($regex, [[#variable50a5a980]],$row->text); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50a5a940]] | preg_replace |
1 | 2 | [[#50a5a940]] | preg_replace_callback |
1 | 3 | [[#50a5a940]] | preg_replace |
1 | 4 | [[#50a5a940]] | preg_replace |
1 | 5 | [[#50a5a940]] | preg_replace |
1 | 6 | [[#50a5a940]] | preg_replace |
2 | 1 | [[#50a5a980]] | '' |
2 | 2 | [[#50a5a980]] | 'plgContentGeshi_replacer' |
2 | 3 | [[#50a5a980]] | '<br/>' |
2 | 4 | [[#50a5a980]] | '<br />' |
2 | 5 | [[#50a5a980]] | '' |
2 | 6 | [[#50a5a980]] | '' |