| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 3 | 4 | 0.951 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 100 | Closure/closure/goog/graphics/lineargradient.js |
| 2 | 10 | 116 | Closure/closure/goog/graphics/lineargradient.js |
| 3 | 10 | 132 | Closure/closure/goog/graphics/lineargradient.js |
| ||||
/**
* @return {number} The start X position of the gradient.
*/
goog.graphics.LinearGradient.prototype.getX1= function ( )
{
return this.x1_;
} ;
/**
* @return {number} The start Y position of the gradient.
*/
goog.graphics.LinearGradient.prototype.getY1= function ( )
{
return this.y1_;
} ;
|
| ||||
/**
* @return {number} The end X position of the gradient.
*/
goog.graphics.LinearGradient.prototype.getX2= function ( )
{
return this.x2_;
} ;
/**
* @return {number} The end Y position of the gradient.
*/
goog.graphics.LinearGradient.prototype.getY2= function ( )
{
return this.y2_;
} ;
|
| ||||
/**
* @return {string} The start color of the gradient.
*/
goog.graphics.LinearGradient.prototype.getColor1= function ( )
{
return this.color1_;
} ;
/**
* @return {string} The end color of the gradient.
*/
goog.graphics.LinearGradient.prototype.getColor2= function ( )
{
return this.color2_;
} ;
|
| |||
/**
* @return {number} The start X position of the gradient.
*/
/**
* @return {number} The end X position of the gradient.
*/
/**
* @return {string} The start color of the gradient.
*/
goog.graphics.LinearGradient.prototype. [[#variable1df9a600]]= function ( )
{ return this. [[#variable1df9a5a0]];
} ;
/**
* @return {number} The start Y position of the gradient.
*/
/**
* @return {number} The end Y position of the gradient.
*/
/**
* @return {string} The end color of the gradient.
*/
goog.graphics.LinearGradient.prototype. [[#variable1df9a580]]= function ( )
{ return this. [[#variable1df9a420]];
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1df9a600]] | getX1 |
| 1 | 2 | [[#1df9a600]] | getX2 |
| 1 | 3 | [[#1df9a600]] | getColor1 |
| 2 | 1 | [[#1df9a5a0]] | x1_ |
| 2 | 2 | [[#1df9a5a0]] | x2_ |
| 2 | 3 | [[#1df9a5a0]] | color1_ |
| 3 | 1 | [[#1df9a580]] | getY1 |
| 3 | 2 | [[#1df9a580]] | getY2 |
| 3 | 3 | [[#1df9a580]] | getColor2 |
| 4 | 1 | [[#1df9a420]] | y1_ |
| 4 | 2 | [[#1df9a420]] | y2_ |
| 4 | 3 | [[#1df9a420]] | color2_ |