CloneSet490


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20250.985class_member_list[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120191
plugins/authentication/openid/Auth/OpenID/BigMath.php
220277
plugins/authentication/openid/Auth/OpenID/BigMath.php
Clone Instance
1
Line Count
20
Source Line
191
Source File
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);
      }


Clone Instance
2
Line Count
20
Source Line
277
Source File
plugins/authentication/openid/Auth/OpenID/BigMath.php

    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);
      }


Clone AbstractionParameter Count: 5Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46d43680]]
'gmp' 
12[[#46d43680]]
'bcmath' 
21[[#46d43540]]
gmp_add 
22[[#46d43540]]
bcadd 
31[[#46d43620]]
gmp_sub 
32[[#46d43620]]
bcsub 
41[[#4c130e20]]
gmp_pow 
42[[#4c130e20]]
bcpow 
51[[#46d43420]]
gmp_cmp 
52[[#46d43420]]
bccomp