CloneSet169


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8410.982IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18512
Closure/closure/goog/math/integer.js
28590
Closure/closure/goog/math/integer.js
38543
Closure/closure/goog/math/long.js
48631
Closure/closure/goog/math/long.js
Clone Instance
1
Line Count
8
Source Line
512
Source File
Closure/closure/goog/math/integer.js

  if (this.isNegative( )){
    if (other.isNegative( )){
      return this.negate( ).multiply(other.negate( ));
                            }
    else   {
      return this.negate( ).multiply(other).negate( );
           }
                         }
  else   if (other.isNegative( )){
    return this.multiply(other.negate( )).negate( );
                                 }


Clone Instance
2
Line Count
8
Source Line
590
Source File
Closure/closure/goog/math/integer.js

  if (this.isNegative( )){
    if (other.isNegative( )){
      return this.negate( ).divide(other.negate( ));
                            }
    else   {
      return this.negate( ).divide(other).negate( );
           }
                         }
  else   if (other.isNegative( )){
    return this.divide(other.negate( )).negate( );
                                 }


Clone Instance
3
Line Count
8
Source Line
543
Source File
Closure/closure/goog/math/long.js

  if (this.isNegative( )){
    if (other.isNegative( )){
      return this.negate( ).multiply(other.negate( ));
                            }
    else   {
      return this.negate( ).multiply(other).negate( );
           }
                         }
  else   if (other.isNegative( )){
    return this.multiply(other.negate( )).negate( );
                                 }


Clone Instance
4
Line Count
8
Source Line
631
Source File
Closure/closure/goog/math/long.js

  if (this.isNegative( )){
    if (other.isNegative( )){
      return this.negate( ).div(other.negate( ));
                            }
    else   {
      return this.negate( ).div(other).negate( );
           }
                         }
  else   if (other.isNegative( )){
    return this.div(other.negate( )).negate( );
                                 }


Clone AbstractionParameter Count: 1Parameter Bindings

if (this.isNegative( ))
  { if (other.isNegative( ))
      { return this.negate( ). [[#variable571cf4c0]](other.negate( ));
      }
    else
      { return this.negate( ). [[#variable571cf4c0]](other).negate( );
      }
  }
else
  if (other.isNegative( ))
    { return this. [[#variable571cf4c0]](other.negate( )).negate( );
    }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#571cf4c0]]
divide 
12[[#571cf4c0]]
multiply 
13[[#571cf4c0]]
div 
14[[#571cf4c0]]
multiply