Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.984 | case |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 398 | libraries/joomla/user/helper.php |
2 | 7 | 406 | libraries/joomla/user/helper.php |
| ||||
case 'crypt-md5' : if ($seed) { return substr(preg_replace('|^{crypt}|i', '', $seed), 0, 12); } else { return '$1$' . substr(md5(mt_rand()), 0, 8) . '$'; } break; |
| ||||
case 'crypt-blowfish' : if ($seed) { return substr(preg_replace('|^{crypt}|i', '', $seed), 0, 16); } else { return '$2$' . substr(md5(mt_rand()), 0, 12) . '$'; } break; |
| |||
case [[#variable24db8680]]: if ($seed) { return substr(preg_replace('|^{crypt}|i','',$seed),0, [[#variable24db8620]]); } else { return [[#variable24db85c0]] . substr(md5(mt_rand()),0, [[#variable24db84e0]]) . '$'; } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24db8680]] | 'crypt-blowfish' |
1 | 2 | [[#24db8680]] | 'crypt-md5' |
2 | 1 | [[#24db8620]] | 16 |
2 | 2 | [[#24db8620]] | 12 |
3 | 1 | [[#24db85c0]] | '$2$' |
3 | 2 | [[#24db85c0]] | '$1$' |
4 | 1 | [[#24db84e0]] | 12 |
4 | 2 | [[#24db84e0]] | 8 |