CloneSet969


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.984statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1922
plugins/content/geshi.php
2921
plugins/content/loadmodule.php
Clone Instance
1
Line Count
9
Source Line
22
Source File
plugins/content/geshi.php

        // simple performance check to determine whether bot should process further
        if (JString::strpos($row->text ,'pre>') === FALSE) {
                return TRUE;
              }

        // Get Plugin info
        $plugin=  &JPluginHelper::getPlugin('content', 'geshi');

        // define the regular expression for the bot
        $regex=  "#<pre xml:\\s*(.*?)>(.*?)</pre>#s";


Clone Instance
2
Line Count
9
Source Line
21
Source File
plugins/content/loadmodule.php

        // simple performance check to determine whether bot should process further
        if (JString::strpos($row->text ,'loadposition') === FALSE) {
                return TRUE;
              }

        // Get plugin info
        $plugin=  &JPluginHelper::getPlugin('content', 'loadmodule');

        // expression to search for
        $regex=  '/{loadposition\\s*.*?}/i';


Clone AbstractionParameter Count: 3Parameter Bindings

// simple performance check to determine whether bot should process further
if (JString::strpos($row->text , [[#variable3fc136c0]]) === FALSE) {
  return TRUE;
}
// Get Plugin info
// Get plugin info
$plugin= &JPluginHelper::getPlugin('content', [[#variable3fc13620]]);
// define the regular expression for the bot
// expression to search for
$regex= [[#variable3fc13520]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3fc136c0]]
'pre>' 
12[[#3fc136c0]]
'loadposition' 
21[[#3fc13620]]
'geshi' 
22[[#3fc13620]]
'loadmodule' 
31[[#3fc13520]]
"#<pre xml:\\s*(.*?)>(.*?)</pre>#s" 
32[[#3fc13520]]
'/{loadposition\\s*.*?}/i'