Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.957 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 212 | Closure/closure/goog/graphics/svggraphics.js |
2 | 3 | 222 | Closure/closure/goog/graphics/svggraphics.js |
| ||||
var stop1= this.createSvgElement_('stop', { 'offset': '0%', 'style': 'stop-color:'+ fill.getColor1( )} ); gradient.appendChild(stop1); |
| ||||
// LinearGradients don't have opacity in VML so implement that before // enabling the following code. // if (fill.getOpacity() != null) { // gstyles += 'opacity:' + fill.getOpacity() + ';' // } var stop2= this.createSvgElement_('stop', { 'offset': '100%', 'style': 'stop-color:'+ fill.getColor2( )} ); gradient.appendChild(stop2); |
| |||
// LinearGradients don't have opacity in VML so implement that before // enabling the following code. // if (fill.getOpacity() != null) { // gstyles += 'opacity:' + fill.getOpacity() + ';' // } var [[#variable41b80e80]]=this.createSvgElement_('stop', { 'offset': [[#variable6344b9a0]], 'style': 'stop-color:'+fill. [[#variable6344afc0]]( )} ); gradient.appendChild( [[#variable41b80e80]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#41b80e80]] | stop1 |
1 | 2 | [[#41b80e80]] | stop2 |
2 | 1 | [[#6344b9a0]] | '0%' |
2 | 2 | [[#6344b9a0]] | '100%' |
3 | 1 | [[#6344afc0]] | getColor1 |
3 | 2 | [[#6344afc0]] | getColor2 |