Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.979 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 75 | libraries/joomla/html/html/image.php |
2 | 6 | 134 | libraries/joomla/html/html/image.php |
| ||||
if (substr($src, 0, 1) == "/") { $src= substr_replace($src, '', 0, 1); } // Prepend the base path $src= JURI::base(TRUE) . '/' . $src; |
| ||||
if (substr($image, 0, 1) == "/") { $image= substr_replace($image, '', 0, 1); } // Prepend the base path $image= JURI::base(TRUE) . '/' . $image; |
| |||
if (substr( [[#variable20f54440]],0,1) == "/") { [[#variable20f54440]]=substr_replace( [[#variable20f54440]],'',0,1); } [[#variable20f54440]]=JURI::base(TRUE) . '/' . [[#variable20f54440]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20f54440]] | $src |
1 | 2 | [[#20f54440]] | $image |