CloneSet1232


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.960ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12546
Closure/closure/goog/color/color.js
22576
Closure/closure/goog/color/color.js
Clone Instance
1
Line Count
2
Source Line
546
Source File
Closure/closure/goog/color/color.js

/**
 * Converts from h,s,l values to a hex string
 * @param {number} h Hue, in [0, 360].
 * @param {number} s Saturation, in [0, 1].
 * @param {number} l Luminosity, in [0, 1].
 * @return {string} hex representation of the color.
 */
goog.color.hslToHex=  function (h, s, l){
  return goog.color.rgbArrayToHex(goog.color.hslToRgb(h, s, l));
                                        } ;


Clone Instance
2
Line Count
2
Source Line
576
Source File
Closure/closure/goog/color/color.js

/**
 * Converts from h,s,v values to a hex string
 * @param {number} h Hue, in [0, 1].
 * @param {number} s Saturation, in [0, 1].
 * @param {number} v Value, in [0, 255].
 * @return {string} hex representation of the color.
 */
goog.color.hsvToHex=  function (h, s, v){
  return goog.color.rgbArrayToHex(goog.color.hsvToRgb(h, s, v));
                                        } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Converts from h,s,v values to a hex string
 * @param {number} h Hue, in [0, 1].
 * @param {number} s Saturation, in [0, 1].
 * @param {number} v Value, in [0, 255].
 * @return {string} hex representation of the color.
 */
/**
 * Converts from h,s,l values to a hex string
 * @param {number} h Hue, in [0, 360].
 * @param {number} s Saturation, in [0, 1].
 * @param {number} l Luminosity, in [0, 1].
 * @return {string} hex representation of the color.
 */
goog.color. [[#variable20ffece0]]= function (h,s, [[#variable20ffec80]])
                                   { return goog.color.rgbArrayToHex(goog.color. [[#variable20ffec20]](h,s, [[#variable20ffec80]]));
                                   } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20ffece0]]
hsvToHex 
12[[#20ffece0]]
hslToHex 
21[[#20ffec80]]
v 
22[[#20ffec80]]
l 
31[[#20ffec20]]
hsvToRgb 
32[[#20ffec20]]
hslToRgb