Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.967 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 202 | Closure/closure/goog/graphics/abstractgraphics.js |
2 | 3 | 211 | 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; } ; |
| ||||
/** * @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; } ; |
| |||
/** * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1dc3ee80]] | getPixelScaleY |
1 | 2 | [[#1dc3ee80]] | getPixelScaleX |
2 | 1 | [[#1dc3eda0]] | height |
2 | 2 | [[#1dc3eda0]] | width |