| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 1 | 0.963 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 105 | plugins/system/debug.php |
| 2 | 9 | 120 | plugins/system/debug.php |
| ||||
foreach ($log as $k => $sql)
{
$geshi->set_source($sql);
$text= $geshi->parse_code();
$text= preg_replace($newlineKeywords, '<br /> \\0', $text);
echo '<li>'
. $text
. '</li>';
}
echo '</ol>';
|
| ||||
foreach ($database->getLog() as $k => $sql)
{
$geshi->set_source($sql);
$text= $geshi->parse_code();
$text= preg_replace($newlineKeywords, '<br /> \\0', $text);
echo '<li>'
. $text
. '</li>';
}
echo '</ol>';
|
| |||
foreach ( [[#variable245498e0]]as $k => $sql) {
$geshi->set_source($sql);
$text=$geshi->parse_code();
$text=preg_replace($newlineKeywords,'<br /> \\0',$text);
echo '<li>'
. $text
. '</li>';
}
echo '</ol>';
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#245498e0]] | $database->getLog() |
| 1 | 2 | [[#245498e0]] | $log |