Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.989 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 316 | Closure/closure/goog/graphics/canvaselement.js |
2 | 5 | 724 | Closure/closure/goog/graphics/canvaselement.js |
| ||||
/** * Update the size of the rectangle. * @param {number} width Width of rectangle. * @param {number} height Height of rectangle. */ goog.graphics.CanvasRectElement.prototype.setSize= function (width, height){ this.w_= width; this.h_= height; if (this.drawn_) { this.getGraphics( ).redraw( ); } } ; |
| ||||
/** * Update the size of the image. * @param {number} width Width of rectangle. * @param {number} height Height of rectangle. */ goog.graphics.CanvasImageElement.prototype.setSize= function (width, height){ this.w_= width; this.h_= height; if (this.drawn_) { this.getGraphics( ).redraw( ); } } ; |
| |||
/** * Update the size of the image. * @param {number} width Width of rectangle. * @param {number} height Height of rectangle. */ /** * Update the size of the rectangle. * @param {number} width Width of rectangle. * @param {number} height Height of rectangle. */ goog.graphics. [[#variable3ed74a40]].prototype.setSize= function (width,height) { this.w_=width; this.h_=height; if (this.drawn_) { this.getGraphics( ).redraw( ); } } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3ed74a40]] | CanvasImageElement |
1 | 2 | [[#3ed74a40]] | CanvasRectElement |