CloneSet1426


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.967ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13202
Closure/closure/goog/graphics/abstractgraphics.js
23211
Closure/closure/goog/graphics/abstractgraphics.js
Clone Instance
1
Line Count
3
Source Line
202
Source File
Closure/closure/goog/graphics/abstractgraphics.js

/**
 * @return {number} Returns the number of pixels per unit in the x direction.
 */
goog.graphics.AbstractGraphics.prototype.getPixelScaleX=  function ( )
                                                                     {
  var pixelSize=  this.getPixelSize( );
  return pixelSize
         ?           pixelSize.width/  this.getCoordSize( ).width
         :                                                         0;
                                                                     } ;


Clone Instance
2
Line Count
3
Source Line
211
Source File
Closure/closure/goog/graphics/abstractgraphics.js

/**
 * @return {number} Returns the number of pixels per unit in the y direction.
 */
goog.graphics.AbstractGraphics.prototype.getPixelScaleY=  function ( )
                                                                     {
  var pixelSize=  this.getPixelSize( );
  return pixelSize
         ?           pixelSize.height/  this.getCoordSize( ).height
         :                                                           0;
                                                                     } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * @return {number} Returns the number of pixels per unit in the y direction.
 */
/**
 * @return {number} Returns the number of pixels per unit in the x direction.
 */
goog.graphics.AbstractGraphics.prototype. [[#variable1dc3ee80]]= function ( )
                                                                 { var pixelSize=this.getPixelSize( );
                                                                   return pixelSize
                                                                          ?pixelSize. [[#variable1dc3eda0]]/this.getCoordSize( ). [[#variable1dc3eda0]]
                                                                          : 0;
                                                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1dc3ee80]]
getPixelScaleY 
12[[#1dc3ee80]]
getPixelScaleX 
21[[#1dc3eda0]]
height 
22[[#1dc3eda0]]
width