Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.972 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 247 | administrator/components/com_config/controllers/application.php |
2 | 3 | 251 | administrator/components/com_config/controllers/application.php |
| ||||
if (strpos($file_path, '/') === 0 || strpos($file_path, '\\') === 0) { //Leading slash. Kill it and default to /media $file_path= 'images'; } |
| ||||
if (strpos($image_path, '/') === 0 || strpos($image_path, '\\') === 0) { //Leading slash. Kill it and default to /media $image_path= 'images/stories'; } |
| |||
if (strpos( [[#variable20a53f80]],'/') === 0 || strpos( [[#variable20a53f80]],'\\') === 0) { [[#variable20a53f80]]= [[#variable20a53fa0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20a53f80]] | $image_path |
1 | 2 | [[#20a53f80]] | $file_path |
2 | 1 | [[#20a53fa0]] | 'images/stories' |
2 | 2 | [[#20a53fa0]] | 'images' |