| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 1 | 0.971 | IfStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 436 | Closure/closure/goog/ui/abstractspellchecker.js |
| 2 | 4 | 719 | 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];
}
|
| ||||
if (this.wordElements_[index]) {
this.wordElements_[index].push(el);
}
else {
this.wordElements_[index]= [el];
}
|
| |||
// Create reference between new word and element
if (this.wordElements_[ [[#variable1ee64080]]])
{ this.wordElements_[ [[#variable1ee64080]]].push(el);
}
else
{ this.wordElements_[ [[#variable1ee64080]]]=[el];
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1ee64080]] | newIndex |
| 1 | 2 | [[#1ee64080]] | index |