CloneSet1660


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.959ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14184
Closure/closure/goog/math/size.js
24130
Closure/closure/goog/math/vec2.js
Clone Instance
1
Line Count
4
Source Line
184
Source File
Closure/closure/goog/math/size.js

/**
 * Scales the size uniformly by a factor.
 * @param {number} s The scale factor.
 * @return {goog.math.Size} This Size object after scaling.
 */
goog.math.Size.prototype.scale=  function (s){
  this.width *= s;
  this.height *= s;
  return this ;
                                             } ;


Clone Instance
2
Line Count
4
Source Line
130
Source File
Closure/closure/goog/math/vec2.js

/**
 * Scales the current vector by a constant.
 * @param {number} s The scale factor.
 * @return {!goog.math.Vec2} The scaled vector.
 */
goog.math.Vec2.prototype.scale=  function (s){
  this.x *= s;
  this.y *= s;
  return this ;
                                             } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Scales the size uniformly by a factor.
 * @param {number} s The scale factor.
 * @return {goog.math.Size} This Size object after scaling.
 */
/**
 * Scales the current vector by a constant.
 * @param {number} s The scale factor.
 * @return {!goog.math.Vec2} The scaled vector.
 */
goog.math. [[#variable630baa80]].prototype.scale= function (s)
                                                  { this. [[#variable630baa20]]*= s;
                                                    this. [[#variable630ba980]]*= s;
                                                    return this ;
                                                  } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#630baa80]]
Size 
12[[#630baa80]]
Vec2 
21[[#630baa20]]
width 
22[[#630baa20]]
x 
31[[#630ba980]]
height 
32[[#630ba980]]
y