Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
35 | 2 | 5 | 0.955 | SourceElements[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 33 | 328 | Closure/closure/goog/ui/gauge.js |
2 | 35 | 408 | Closure/closure/goog/ui/gauge.js |
| ||||
/** * The current value that needs to be displayed in the gauge. * @private * @type {number} */ goog.ui.Gauge.prototype.value_= 0; /** * The current value formatted into a String. * @private * @type {?string} */ goog.ui.Gauge.prototype.formattedValue_= null; /** * The current colors theme. * @private * @type {goog.ui.GaugeTheme?} */ goog.ui.Gauge.prototype.theme_= null; /** * Title to display above the gauge center. * @private * @type {?string} */ goog.ui.Gauge.prototype.titleTop_= null; /** * Title to display below the gauge center. * @private * @type {?string} */ goog.ui.Gauge.prototype.titleBottom_= null; |
| ||||
/** * The radius for drawing the needle. * Computed on full redraw, and used on every animation step of moving * the needle. * @type {number} * @private */ goog.ui.Gauge.prototype.needleRadius_= 0; /** * The group elemnt of the needle. Contains all elements that change when the * gauge value changes. * @type {goog.graphics.GroupElement?} * @private */ goog.ui.Gauge.prototype.needleGroup_= null; /** * The current position (0-1) of the visible needle. * Initially set to null to prevent animation on first opening of the gauge. * @type {?number} * @private */ goog.ui.Gauge.prototype.needleValuePosition_= null; /** * Text labels to display by major tick marks. * @type {Array.<string>?} * @private */ goog.ui.Gauge.prototype.majorTickLabels_= null; /** * Animation object while needle is being moved (animated). * @type {goog.fx.Animation?} * @private */ goog.ui.Gauge.prototype.animation_= null; |
| |||
/** * The radius for drawing the needle. * Computed on full redraw, and used on every animation step of moving * the needle. * @type {number} * @private */ /** * The current value that needs to be displayed in the gauge. * @private * @type {number} */ goog.ui.Gauge.prototype. [[#variable20e0ed60]]=0; /** * The group elemnt of the needle. Contains all elements that change when the * gauge value changes. * @type {goog.graphics.GroupElement?} * @private */ /** * The current value formatted into a String. * @private * @type {?string} */ goog.ui.Gauge.prototype. [[#variable20973120]]=null; /** * The current position (0-1) of the visible needle. * Initially set to null to prevent animation on first opening of the gauge. * @type {?number} * @private */ /** * The current colors theme. * @private * @type {goog.ui.GaugeTheme?} */ goog.ui.Gauge.prototype. [[#variable20e0ec20]]=null; /** * Text labels to display by major tick marks. * @type {Array.<string>?} * @private */ /** * Title to display above the gauge center. * @private * @type {?string} */ goog.ui.Gauge.prototype. [[#variable3fb07880]]=null; /** * Animation object while needle is being moved (animated). * @type {goog.fx.Animation?} * @private */ /** * Title to display below the gauge center. * @private * @type {?string} */ goog.ui.Gauge.prototype. [[#variable20e0eae0]]=null; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20e0ed60]] | needleRadius_ |
1 | 2 | [[#20e0ed60]] | value_ |
2 | 1 | [[#20973120]] | needleGroup_ |
2 | 2 | [[#20973120]] | formattedValue_ |
3 | 1 | [[#20e0ec20]] | needleValuePosition_ |
3 | 2 | [[#20e0ec20]] | theme_ |
4 | 1 | [[#3fb07880]] | majorTickLabels_ |
4 | 2 | [[#3fb07880]] | titleTop_ |
5 | 1 | [[#20e0eae0]] | animation_ |
5 | 2 | [[#20e0eae0]] | titleBottom_ |