| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 1 | 2 | 1 | 0.988 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 1 | 1117 | Closure/third_party/closure/goog/dojo/dom/query.js |
| 2 | 1 | 1145 | Closure/third_party/closure/goog/dojo/dom/query.js |
| ||||
// it's a class-based query and we've got a fast way to run it.
// ignore class and ID filters since we will have handled both
filterFunc= getSimpleFilterFunc(query, { el: 1, classes: 1, id: 1 } );
|
| ||||
// the common case:
// a descendant selector without a fast path. By now it's got
// to have a tag selector, even if it's just "*" so we query
// by that and filter
filterFunc= getSimpleFilterFunc(query, { el: 1, tag: 1, id: 1 } );
|
| |||
// it's a class-based query and we've got a fast way to run it.
// ignore class and ID filters since we will have handled both
// the common case:
// a descendant selector without a fast path. By now it's got
// to have a tag selector, even if it's just "*" so we query
// by that and filter
filterFunc=getSimpleFilterFunc(query, {el: 1,
[[#variable1fa8a940]]: 1,
id: 1 } );
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1fa8a940]] | classes |
| 1 | 2 | [[#1fa8a940]] | tag |