CloneSet1180


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.971IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14436
Closure/closure/goog/ui/abstractspellchecker.js
24719
Closure/closure/goog/ui/abstractspellchecker.js
Clone Instance
1
Line Count
4
Source Line
436
Source File
Closure/closure/goog/ui/abstractspellchecker.js

      // Create reference between new word and element
      if (this.wordElements_[newIndex]) {
        this.wordElements_[newIndex].push(el);
                                        }
      else   {
        this.wordElements_[newIndex]=  [el];
             }


Clone Instance
2
Line Count
4
Source Line
719
Source File
Closure/closure/goog/ui/abstractspellchecker.js

  if (this.wordElements_[index]) {
    this.wordElements_[index].push(el);
                                 }
  else   {
    this.wordElements_[index]=  [el];
         }


Clone AbstractionParameter Count: 1Parameter Bindings

// Create reference between new word and element
if (this.wordElements_[ [[#variable1ee64080]]])
  { this.wordElements_[ [[#variable1ee64080]]].push(el);
  }
else
  { this.wordElements_[ [[#variable1ee64080]]]=[el];
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ee64080]]
newIndex 
12[[#1ee64080]]
index