Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.987 | class_member_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 218 | plugins/authentication/openid/Auth/OpenID/BigMath.php |
2 | 13 | 304 | plugins/authentication/openid/Auth/OpenID/BigMath.php |
| ||||
function mod($base, $modulus) { return bcmod($base, $modulus); } function mul($x, $y) { return bcmul($x, $y); } function div($x, $y) { return bcdiv($x, $y); } |
| ||||
function mod($base, $modulus) { return gmp_mod($base, $modulus); } function mul($x, $y) { return gmp_mul($x, $y); } function div($x, $y) { return gmp_div_q($x, $y); } |
| |||
function mod($base,$modulus) { return [[#variable21f6e780]]($base,$modulus); } function mul($x,$y) { return [[#variable21f6e6a0]]($x,$y); } function div($x,$y) { return [[#variable21f6e720]]($x,$y); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21f6e780]] | bcmod |
1 | 2 | [[#21f6e780]] | gmp_mod |
2 | 1 | [[#21f6e6a0]] | bcmul |
2 | 2 | [[#21f6e6a0]] | gmp_mul |
3 | 1 | [[#21f6e720]] | bcdiv |
3 | 2 | [[#21f6e720]] | gmp_div_q |