Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 7 | 2 | 0.970 | VariableStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 153 | Closure/closure/goog/color/alpha.js |
2 | 1 | 154 | Closure/closure/goog/color/alpha.js |
3 | 1 | 155 | Closure/closure/goog/color/alpha.js |
4 | 1 | 156 | Closure/closure/goog/color/alpha.js |
5 | 1 | 131 | Closure/closure/goog/color/color.js |
6 | 1 | 132 | Closure/closure/goog/color/color.js |
7 | 1 | 133 | Closure/closure/goog/color/color.js |
| ||||
var r= parseInt(hexColor.substr(1, 2), 16); |
| ||||
var g= parseInt(hexColor.substr(3, 2), 16); |
| ||||
var b= parseInt(hexColor.substr(5, 2), 16); |
| ||||
var a= parseInt(hexColor.substr(7, 2), 16); |
| ||||
var r= parseInt(hexColor.substr(1, 2), 16); |
| ||||
var g= parseInt(hexColor.substr(3, 2), 16); |
| ||||
var b= parseInt(hexColor.substr(5, 2), 16); |
| |||
var [[#variable623dd9c0]]=parseInt(hexColor.substr( [[#variable623dd940]],2),16); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#623dd9c0]] | r |
1 | 2 | [[#623dd9c0]] | g |
1 | 3 | [[#623dd9c0]] | b |
1 | 4 | [[#623dd9c0]] | a |
1 | 5 | [[#623dd9c0]] | g |
1 | 6 | [[#623dd9c0]] | b |
1 | 7 | [[#623dd9c0]] | r |
2 | 1 | [[#623dd940]] | 1 |
2 | 2 | [[#623dd940]] | 3 |
2 | 3 | [[#623dd940]] | 5 |
2 | 4 | [[#623dd940]] | 7 |
2 | 5 | [[#623dd940]] | 3 |
2 | 6 | [[#623dd940]] | 5 |
2 | 7 | [[#623dd940]] | 1 |