Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 6 | 2 | 0.955 | LogicalORExpression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 167 | Closure/closure/goog/color/color.js |
2 | 2 | 223 | Closure/closure/goog/color/color.js |
3 | 2 | 294 | Closure/closure/goog/color/color.js |
4 | 2 | 515 | Closure/closure/goog/color/color.js |
5 | 2 | 524 | Closure/closure/goog/color/color.js |
6 | 2 | 585 | Closure/closure/goog/color/color.js |
| ||||
function (rgb){ return goog.color.rgbToHex(rgb[0], rgb[1], rgb[2]); } |
| ||||
function (rgb){ return goog.color.rgbToHsl(rgb[0], rgb[1], rgb[2]); } |
| ||||
function (hsl){ return goog.color.hslToRgb(hsl[0], hsl[1], hsl[2]); } |
| ||||
function (rgb){ return goog.color.rgbToHsv(rgb[0], rgb[1], rgb[2]); } |
| ||||
function (hsv){ return goog.color.hsvToRgb(hsv[0], hsv[1], hsv[2]); } |
| ||||
function (hsv){ return goog.color.hsvToHex(hsv[0], hsv[1], hsv[2]); } |
| |||
function ( [[#variable5754bbe0]]) { return goog.color. [[#variable5754bb80]]( [[#variable5754bbe0]][0], [[#variable5754bbe0]][1], [[#variable5754bbe0]][2]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5754bbe0]] | hsv |
1 | 2 | [[#5754bbe0]] | hsv |
1 | 3 | [[#5754bbe0]] | rgb |
1 | 4 | [[#5754bbe0]] | hsl |
1 | 5 | [[#5754bbe0]] | rgb |
1 | 6 | [[#5754bbe0]] | rgb |
2 | 1 | [[#5754bb80]] | hsvToHex |
2 | 2 | [[#5754bb80]] | hsvToRgb |
2 | 3 | [[#5754bb80]] | rgbToHsv |
2 | 4 | [[#5754bb80]] | hslToRgb |
2 | 5 | [[#5754bb80]] | rgbToHsl |
2 | 6 | [[#5754bb80]] | rgbToHex |