| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 3 | 0.984 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 22 | plugins/content/geshi.php |
| 2 | 9 | 21 | plugins/content/loadmodule.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";
|
| ||||
// 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';
|
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3fc136c0]] | 'pre>' |
| 1 | 2 | [[#3fc136c0]] | 'loadposition' |
| 2 | 1 | [[#3fc13620]] | 'geshi' |
| 2 | 2 | [[#3fc13620]] | 'loadmodule' |
| 3 | 1 | [[#3fc13520]] | "#<pre xml:\\s*(.*?)>(.*?)</pre>#s" |
| 3 | 2 | [[#3fc13520]] | '/{loadposition\\s*.*?}/i' |