CloneSet431


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8250.953IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181058
Closure/closure/goog/ui/serverchart.js
261075
Closure/closure/goog/ui/serverchart.js
Clone Instance
1
Line Count
8
Source Line
1058
Source File
Closure/closure/goog/ui/serverchart.js

  if (goog.isDef(opt_legendText)) {
    goog.array.forEach(
        opt_legendText,
        goog.bind( function (legend){
           this.setLegendTexts_.push(legend);
                                    } ,this ));
    this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.LEGEND_TEXTS,
                                this.setLegendTexts_.join('|'));
                                  }


Clone Instance
2
Line Count
6
Source Line
1075
Source File
Closure/closure/goog/ui/serverchart.js

  if (goog.isDef(opt_colors)) {
    goog.array.forEach(opt_colors, goog.bind( function (color){
       this.setColors_.push(color);
                                                              } ,this ));
    this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.DATA_COLORS,
                                this.setColors_.join(','));
                              }


Clone AbstractionParameter Count: 5Parameter Bindings

if (goog.isDef( [[#variable201a9040]]))
  { goog.array.forEach( [[#variable201a9040]],goog.bind( function ( [[#variable201a8fa0]])
                                                         { this. [[#variable201a8f20]].push( [[#variable201a8fa0]]);
                                                         } ,this ));
    this.uri_.setParameterValue(goog.ui.ServerChart.UriParam. [[#variable201a8ec0]],this. [[#variable201a8f20]].join( [[#variable201a8e60]]));
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#201a9040]]
opt_legendText 
12[[#201a9040]]
opt_colors 
21[[#201a8fa0]]
legend 
22[[#201a8fa0]]
color 
31[[#201a8f20]]
setLegendTexts_ 
32[[#201a8f20]]
setColors_ 
41[[#201a8ec0]]
LEGEND_TEXTS 
42[[#201a8ec0]]
DATA_COLORS 
51[[#201a8e60]]
'|' 
52[[#201a8e60]]
','