CloneSet707


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.978ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1367
Closure/closure/goog/ui/gaugetheme.js
23128
Closure/closure/goog/ui/gaugetheme.js
Clone Instance
1
Line Count
3
Source Line
67
Source File
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');
                                                                         } ;


Clone Instance
2
Line Count
3
Source Line
128
Source File
Closure/closure/goog/ui/gaugetheme.js

/**
 * 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');
                                                                } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62a1a6c0]]
getHingeFill 
12[[#62a1a6c0]]
getExternalBorderFill 
21[[#62a1a600]]
'#4684ee' 
22[[#62a1a600]]
'#f7f7f7' 
31[[#62a1a4e0]]
'#3776d6' 
32[[#62a1a4e0]]
'#cccccc'