Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.978 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 67 | Closure/closure/goog/ui/gaugetheme.js |
2 | 3 | 128 | Closure/closure/goog/ui/gaugetheme.js |
| ||||
/** * Returns the fill for the external border of the gauge. * @param {number} cx X coordinate of the center of the gauge. * @param {number} cy Y coordinate of the center of the gauge. * @param {number} r Radius of the gauge. * @return {goog.graphics.Fill} The fill to use. */ goog.ui.GaugeTheme.prototype.getExternalBorderFill= function (cx, cy, r){ return new goog.graphics.LinearGradient(cx+ r, cy- r, cx- r, cy+ r, '#f7f7f7' ,'#cccccc'); } ; |
| ||||
/** * Returns the fill for the hinge at the center of the gauge. * @param {number} cx X coordinate of the center of the gauge. * @param {number} cy Y coordinate of the center of the gauge. * @param {number} r Radius of the hinge. * @return {goog.graphics.Fill} The fill to use. */ goog.ui.GaugeTheme.prototype.getHingeFill= function (cx, cy, r){ return new goog.graphics.LinearGradient(cx+ r, cy- r, cx- r, cy+ r, '#4684ee' ,'#3776d6'); } ; |
| |||
/** * Returns the fill for the hinge at the center of the gauge. * @param {number} cx X coordinate of the center of the gauge. * @param {number} cy Y coordinate of the center of the gauge. * @param {number} r Radius of the hinge. * @return {goog.graphics.Fill} The fill to use. */ /** * Returns the fill for the external border of the gauge. * @param {number} cx X coordinate of the center of the gauge. * @param {number} cy Y coordinate of the center of the gauge. * @param {number} r Radius of the gauge. * @return {goog.graphics.Fill} The fill to use. */ goog.ui.GaugeTheme.prototype. [[#variable62a1a6c0]]= function (cx,cy,r) { return new goog.graphics.LinearGradient(cx+r,cy-r,cx-r,cy+r, [[#variable62a1a600]], [[#variable62a1a4e0]]); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62a1a6c0]] | getHingeFill |
1 | 2 | [[#62a1a6c0]] | getExternalBorderFill |
2 | 1 | [[#62a1a600]] | '#4684ee' |
2 | 2 | [[#62a1a600]] | '#f7f7f7' |
3 | 1 | [[#62a1a4e0]] | '#3776d6' |
3 | 2 | [[#62a1a4e0]] | '#cccccc' |