| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 1 | 4 | 4 | 0.957 | statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 1 | 308 | libraries/joomla/client/ldap.php |
| 2 | 1 | 255 | libraries/joomla/database/database.php |
| 3 | 1 | 69 | libraries/joomla/language/helper.php |
| 4 | 1 | 210 | plugins/authentication/openid/Auth/Yadis/XRI.php |
| ||||
$cn= substr($dn,0,strpos($dn,',')); |
| ||||
$name= substr($handler, 0, strrpos($handler, '.')); |
| ||||
// slice out the part before ; on first step, the part before - on second, place into array
$browserLang= substr($browserLang, 0, strcspn($browserLang, ';'));
|
| ||||
$parent_sought= substr($childID, 0, strrpos($childID, '!')); |
| |||
[[#variable2226bf60]]=substr( [[#variable2226bf20]],0, [[#variable2226be00]]( [[#variable2226bf20]], [[#variable2226be60]])); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2226bf60]] | $name |
| 1 | 2 | [[#2226bf60]] | $cn |
| 1 | 3 | [[#2226bf60]] | // slice out the part before ; on first step, the part before - on second, place into array $browserLang |
| 1 | 4 | [[#2226bf60]] | $parent_sought |
| 2 | 1 | [[#2226bf20]] | $handler |
| 2 | 2 | [[#2226bf20]] | $dn |
| 2 | 3 | [[#2226bf20]] | $browserLang |
| 2 | 4 | [[#2226bf20]] | $childID |
| 3 | 1 | [[#2226be00]] | strrpos |
| 3 | 2 | [[#2226be00]] | strpos |
| 3 | 3 | [[#2226be00]] | strcspn |
| 3 | 4 | [[#2226be00]] | strrpos |
| 4 | 1 | [[#2226be60]] | '.' |
| 4 | 2 | [[#2226be60]] | ',' |
| 4 | 3 | [[#2226be60]] | ';' |
| 4 | 4 | [[#2226be60]] | '!' |