| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 5 | 0.953 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 164 | Closure/closure/goog/ui/emoji/spriteinfo.js |
| 2 | 12 | 183 | Closure/closure/goog/ui/emoji/spriteinfo.js |
| ||||
/**
* Returns the width of the image being sprited, appropriate for a CSS value.
* @return {string} The width of the image being sprited.
*/
goog.ui.emoji.SpriteInfo.prototype.getWidthCssValue= function ( )
{
return goog.ui.emoji.SpriteInfo.getCssPixelValue_(this.width_);
} ;
/**
* Returns the height of the image being sprited, appropriate for a CSS value.
* @return {string} The height of the image being sprited.
*/
goog.ui.emoji.SpriteInfo.prototype.getHeightCssValue= function ( )
{
return goog.ui.emoji.SpriteInfo.getCssPixelValue_(this.height_);
} ;
|
| ||||
/**
* Returns the x offset of the image being sprited within the sprite,
* appropriate for a CSS value.
* @return {string} The x offset of the image being sprited within the sprite.
*/
goog.ui.emoji.SpriteInfo.prototype.getXOffsetCssValue= function ( )
{
return goog.ui.emoji.SpriteInfo.getOffsetCssValue_(this.xOffset_);
} ;
/**
* Returns the positive y offset of the image being sprited within the sprite,
* appropriate for a CSS value.
* @return {string} The y offset of the image being sprited within the sprite.
*/
goog.ui.emoji.SpriteInfo.prototype.getYOffsetCssValue= function ( )
{
return goog.ui.emoji.SpriteInfo.getOffsetCssValue_(this.yOffset_);
} ;
|
| |||
/**
* Returns the width of the image being sprited, appropriate for a CSS value.
* @return {string} The width of the image being sprited.
*/
/**
* Returns the x offset of the image being sprited within the sprite,
* appropriate for a CSS value.
* @return {string} The x offset of the image being sprited within the sprite.
*/
goog.ui.emoji.SpriteInfo.prototype. [[#variable573f2500]]= function ( )
{ return goog.ui.emoji.SpriteInfo. [[#variable5718d7e0]](this. [[#variable5718d7c0]]);
} ;
/**
* Returns the height of the image being sprited, appropriate for a CSS value.
* @return {string} The height of the image being sprited.
*/
/**
* Returns the positive y offset of the image being sprited within the sprite,
* appropriate for a CSS value.
* @return {string} The y offset of the image being sprited within the sprite.
*/
goog.ui.emoji.SpriteInfo.prototype. [[#variable573f2360]]= function ( )
{ return goog.ui.emoji.SpriteInfo. [[#variable5718d7e0]](this. [[#variable573f23e0]]);
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#573f2500]] | getWidthCssValue |
| 1 | 2 | [[#573f2500]] | getXOffsetCssValue |
| 2 | 1 | [[#5718d7e0]] | getCssPixelValue_ |
| 2 | 2 | [[#5718d7e0]] | getOffsetCssValue_ |
| 3 | 1 | [[#5718d7c0]] | width_ |
| 3 | 2 | [[#5718d7c0]] | xOffset_ |
| 4 | 1 | [[#573f2360]] | getHeightCssValue |
| 4 | 2 | [[#573f2360]] | getYOffsetCssValue |
| 5 | 1 | [[#573f23e0]] | height_ |
| 5 | 2 | [[#573f23e0]] | yOffset_ |