CloneSet1401


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.957StatementList[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13212
Closure/closure/goog/graphics/svggraphics.js
23222
Closure/closure/goog/graphics/svggraphics.js
Clone Instance
1
Line Count
3
Source Line
212
Source File
Closure/closure/goog/graphics/svggraphics.js

      var stop1=  this.createSvgElement_('stop',
          { 'offset': '0%', 'style': 'stop-color:'+  fill.getColor1( )} );
      gradient.appendChild(stop1);


Clone Instance
2
Line Count
3
Source Line
222
Source File
Closure/closure/goog/graphics/svggraphics.js

      // 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);


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#41b80e80]]
stop1 
12[[#41b80e80]]
stop2 
21[[#6344b9a0]]
'0%' 
22[[#6344b9a0]]
'100%' 
31[[#6344afc0]]
getColor1 
32[[#6344afc0]]
getColor2