CloneSet747


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


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

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


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#21f6e780]]
bcmod 
12[[#21f6e780]]
gmp_mod 
21[[#21f6e6a0]]
bcmul 
22[[#21f6e6a0]]
gmp_mul 
31[[#21f6e720]]
bcdiv 
32[[#21f6e720]]
gmp_div_q