Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 1 | 0.990 | IterationStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 113 | Closure/closure/goog/structs/heap.js |
2 | 2 | 340 | Closure/closure/goog/structs/map.js |
3 | 2 | 134 | Closure/closure/goog/structs/trie.js |
| ||||
for (var i= 0; i< keys.length; i++) { this.insert(keys[i], values[i]); } |
| ||||
// we could use goog.array.forEach here but I don't want to introduce that // dependency just for this. for (var i= 0; i< keys.length; i++) { this.set(keys[i], values[i]); } |
| ||||
for (var i= 0; i< keys.length; i++) { this.set(keys[i], values[i]); } |
| |||
// we could use goog.array.forEach here but I don't want to introduce that // dependency just for this. for (var i=0; i<keys.length; i++) { this. [[#variable3d1eb360]](keys[i],values[i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3d1eb360]] | insert |
1 | 2 | [[#3d1eb360]] | set |
1 | 3 | [[#3d1eb360]] | set |