Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 4 | 1 | 0.984 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 215 | Closure/closure/goog/structs/structs.js |
2 | 5 | 264 | Closure/closure/goog/structs/structs.js |
3 | 5 | 306 | Closure/closure/goog/structs/structs.js |
4 | 5 | 338 | Closure/closure/goog/structs/structs.js |
| ||||
if (typeof col.filter== 'function') { return col.filter(f, opt_obj); } if (goog.isArrayLike(col) || goog.isString(col)) { return goog.array.filter( /** @type {!Array} */ (col), f, opt_obj); } |
| ||||
if (typeof col.map== 'function') { return col.map(f, opt_obj); } if (goog.isArrayLike(col) || goog.isString(col)) { return goog.array.map( /** @type {!Array} */ (col), f, opt_obj); } |
| ||||
if (typeof col.some== 'function') { return col.some(f, opt_obj); } if (goog.isArrayLike(col) || goog.isString(col)) { return goog.array.some( /** @type {!Array} */ (col), f, opt_obj); } |
| ||||
if (typeof col.every== 'function') { return col.every(f, opt_obj); } if (goog.isArrayLike(col) || goog.isString(col)) { return goog.array.every( /** @type {!Array} */ (col), f, opt_obj); } |
| |||
if (typeof col. [[#variable5dad1ac0]]=='function') { return col. [[#variable5dad1ac0]](f,opt_obj); } if (goog.isArrayLike(col) || goog.isString(col)) { return goog.array. [[#variable5dad1ac0]]( /** @type {!Array} */ (col),f,opt_obj); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5dad1ac0]] | every |
1 | 2 | [[#5dad1ac0]] | map |
1 | 3 | [[#5dad1ac0]] | filter |
1 | 4 | [[#5dad1ac0]] | some |