Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.989 | IterationStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 503 | Closure/closure/goog/events/events.js |
2 | 6 | 516 | Closure/closure/goog/events/events.js |
| ||||
for (var i= sourcesArray.length- 1; i>= 0; i--) { var listener= sourcesArray[i]; if ((noType || opt_type== listener.type) &&(noCapt || opt_capt== listener.capture)) { goog.events.unlistenByKey(listener.key); count++; } } |
| ||||
for (var i= listeners.length- 1; i>= 0; i--) { var listener= listeners[i]; if ((noType || opt_type== listener.type) &&(noCapt || opt_capt== listener.capture)) { goog.events.unlistenByKey(listener.key); count++; } } |
| |||
for (var i= [[#variable3ccb09e0]].length-1; i>=0; i--) { var listener= [[#variable3ccb09e0]][i]; if ((noType || opt_type==listener.type) && (noCapt || opt_capt==listener.capture)) { goog.events.unlistenByKey(listener.key); count++; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3ccb09e0]] | sourcesArray |
1 | 2 | [[#3ccb09e0]] | listeners |