Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.963 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 488 | installation/models/database.php |
2 | 2 | 341 | libraries/phpmailer/smtp.php |
| ||||
$queries[]= substr($sql, 0, $i); $sql= substr($sql, $i+ 1); |
| ||||
$lines_out[]= substr($line,0,$pos); $line= substr($line,$pos+ 1); |
| |||
[[#variable24695460]][]=substr( [[#variable246953a0]],0, [[#variable24695400]]); [[#variable246953a0]]=substr( [[#variable246953a0]], [[#variable24695400]]+1); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24695460]] | $lines_out |
1 | 2 | [[#24695460]] | $queries |
2 | 1 | [[#246953a0]] | $line |
2 | 2 | [[#246953a0]] | $sql |
3 | 1 | [[#24695400]] | $pos |
3 | 2 | [[#24695400]] | $i |