Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.987 | StatementList[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 53 | Closure/closure/goog/dom/pattern/callback/callback.js |
2 | 10 | 83 | Closure/closure/goog/dom/pattern/callback/callback.js |
| ||||
goog.iter.nextOrValue(position, null); // Remove the node. goog.dom.removeNode(node); // Correct for the depth change. position.depth-= 1; // Indicate that we made position/tree changes. return true; |
| ||||
goog.iter.nextOrValue(position, null); // Flatten the node. goog.dom.flattenElement(node); // Correct for the depth change. position.depth-= 1; // Indicate that we made position/tree changes. return true; |
| |||
goog.iter.nextOrValue(position,null); // Remove the node. // Flatten the node. goog.dom. [[#variable21056340]](node); // Correct for the depth change. position.depth-=1; // Indicate that we made position/tree changes. return true; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21056340]] | removeNode |
1 | 2 | [[#21056340]] | flattenElement |