Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 5 | 0.985 | class_member_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 191 | plugins/authentication/openid/Auth/OpenID/BigMath.php |
2 | 20 | 277 | plugins/authentication/openid/Auth/OpenID/BigMath.php |
| ||||
var $type= 'bcmath'; function add($x, $y) { return bcadd($x, $y); } function sub($x, $y) { return bcsub($x, $y); } function pow($base, $exponent) { return bcpow($base, $exponent); } function cmp($x, $y) { return bccomp($x, $y); } |
| ||||
var $type= 'gmp'; function add($x, $y) { return gmp_add($x, $y); } function sub($x, $y) { return gmp_sub($x, $y); } function pow($base, $exponent) { return gmp_pow($base, $exponent); } function cmp($x, $y) { return gmp_cmp($x, $y); } |
| |||
var $type= [[#variable46d43680]]; function add($x,$y) { return [[#variable46d43540]]($x,$y); } function sub($x,$y) { return [[#variable46d43620]]($x,$y); } function pow($base,$exponent) { return [[#variable4c130e20]]($base,$exponent); } function cmp($x,$y) { return [[#variable46d43420]]($x,$y); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46d43680]] | 'gmp' |
1 | 2 | [[#46d43680]] | 'bcmath' |
2 | 1 | [[#46d43540]] | gmp_add |
2 | 2 | [[#46d43540]] | bcadd |
3 | 1 | [[#46d43620]] | gmp_sub |
3 | 2 | [[#46d43620]] | bcsub |
4 | 1 | [[#4c130e20]] | gmp_pow |
4 | 2 | [[#4c130e20]] | bcpow |
5 | 1 | [[#46d43420]] | gmp_cmp |
5 | 2 | [[#46d43420]] | bccomp |