CloneSet156


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5410.984StatementList[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15215
Closure/closure/goog/structs/structs.js
25264
Closure/closure/goog/structs/structs.js
35306
Closure/closure/goog/structs/structs.js
45338
Closure/closure/goog/structs/structs.js
Clone Instance
1
Line Count
5
Source Line
215
Source File
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);
                                                   }


Clone Instance
2
Line Count
5
Source Line
264
Source File
Closure/closure/goog/structs/structs.js

  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);
                                                   }


Clone Instance
3
Line Count
5
Source Line
306
Source File
Closure/closure/goog/structs/structs.js

  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);
                                                   }


Clone Instance
4
Line Count
5
Source Line
338
Source File
Closure/closure/goog/structs/structs.js

  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);
                                                   }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5dad1ac0]]
every 
12[[#5dad1ac0]]
map 
13[[#5dad1ac0]]
filter 
14[[#5dad1ac0]]
some