CloneSet1714


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.971ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1298
Closure/closure/goog/math/size.js
22106
Closure/closure/goog/math/size.js
Clone Instance
1
Line Count
2
Source Line
98
Source File
Closure/closure/goog/math/size.js

/**
 * @return {number} The longer of the two dimensions in the size.
 */
goog.math.Size.prototype.getLongest=  function ( )
                                                 {
  return Math.max(this.width, this.height);
                                                 } ;


Clone Instance
2
Line Count
2
Source Line
106
Source File
Closure/closure/goog/math/size.js

/**
 * @return {number} The shorter of the two dimensions in the size.
 */
goog.math.Size.prototype.getShortest=  function ( )
                                                  {
  return Math.min(this.width, this.height);
                                                  } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * @return {number} The shorter of the two dimensions in the size.
 */
/**
 * @return {number} The longer of the two dimensions in the size.
 */
goog.math.Size.prototype. [[#variable3bf9dc20]]= function ( )
                                                 { return Math. [[#variable3bf9dae0]](this.width,this.height);
                                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3bf9dc20]]
getShortest 
12[[#3bf9dc20]]
getLongest 
21[[#3bf9dae0]]
min 
22[[#3bf9dae0]]
max