Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 4 | 0.956 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 255 | administrator/components/com_config/controllers/application.php |
2 | 3 | 259 | administrator/components/com_config/controllers/application.php |
3 | 2 | 348 | plugins/authentication/openid/Auth/OpenID.php |
| ||||
if (strpos($file_path, '..') !== FALSE) { //downward directories. Kill it and default to images/ $file_path= 'images'; } |
| ||||
if (strpos($image_path, '..') !== FALSE) { //downward directories Kill it and default to images/stories $image_path= 'images/stories'; } |
| ||||
if (strpos($url, '?') !== FALSE) { $sep= '&'; } |
| |||
if (strpos( [[#variable47781c80]], [[#variable47781be0]]) !== FALSE) { [[#variable47781b60]]= [[#variable47781ac0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#47781c80]] | $url |
1 | 2 | [[#47781c80]] | $file_path |
1 | 3 | [[#47781c80]] | $image_path |
2 | 1 | [[#47781be0]] | '?' |
2 | 2 | [[#47781be0]] | '..' |
2 | 3 | [[#47781be0]] | '..' |
3 | 1 | [[#47781b60]] | $sep |
3 | 2 | [[#47781b60]] | //downward directories. Kill it and default to images/ $file_path |
3 | 3 | [[#47781b60]] | //downward directories Kill it and default to images/stories $image_path |
4 | 1 | [[#47781ac0]] | '&' |
4 | 2 | [[#47781ac0]] | 'images' |
4 | 3 | [[#47781ac0]] | 'images/stories' |