Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.984 | case |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 314 | libraries/joomla/user/helper.php |
2 | 3 | 318 | libraries/joomla/user/helper.php |
| ||||
case 'ssha' : $encrypted= base64_encode(mhash(MHASH_SHA1, $plaintext . $salt) . $salt); return ($show_encrypt) ? '{SSHA}' . $encrypted : $encrypted; |
| ||||
case 'smd5' : $encrypted= base64_encode(mhash(MHASH_MD5, $plaintext . $salt) . $salt); return ($show_encrypt) ? '{SMD5}' . $encrypted : $encrypted; |
| |||
case [[#variable456fd8a0]]: $encrypted=base64_encode(mhash( [[#variable456fd7e0]],$plaintext . $salt) . $salt); return ($show_encrypt) ? [[#variable456fd780]] . $encrypted : $encrypted; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#456fd8a0]] | 'smd5' |
1 | 2 | [[#456fd8a0]] | 'ssha' |
2 | 1 | [[#456fd7e0]] | MHASH_MD5 |
2 | 2 | [[#456fd7e0]] | MHASH_SHA1 |
3 | 1 | [[#456fd780]] | '{SMD5}' |
3 | 2 | [[#456fd780]] | '{SSHA}' |