Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.972 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 347 | Closure/closure/goog/math/rect.js |
2 | 2 | 79 | Closure/closure/goog/math/size.js |
| ||||
/** * Returns the size of this rectangle. * @return {!goog.math.Size} The size of this rectangle. */ goog.math.Rect.prototype.getSize= function ( ) { return new goog.math.Size(this.width, this.height); } ; |
| ||||
/** * @return {goog.math.Size} A new copy of the Size. */ goog.math.Size.prototype.clone= function ( ) { return new goog.math.Size(this.width, this.height); } ; |
| |||
/** * Returns the size of this rectangle. * @return {!goog.math.Size} The size of this rectangle. */ /** * @return {goog.math.Size} A new copy of the Size. */ goog.math. [[#variable46790ee0]].prototype. [[#variable46790e80]]= function ( ) { return new goog.math.Size(this.width,this.height); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46790ee0]] | Rect |
1 | 2 | [[#46790ee0]] | Size |
2 | 1 | [[#46790e80]] | getSize |
2 | 2 | [[#46790e80]] | clone |