Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.956 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 396 | Closure/closure/goog/dom/dom_test.js |
2 | 2 | 398 | Closure/closure/goog/dom/dom_test.js |
| ||||
assertEquals('findCommonAncestor(b1, b1) = b1', b1, goog.dom.findCommonAncestor(b1, b1)); |
| ||||
assertEquals('findCommonAncestor(b1, b2) = p2', p2, goog.dom.findCommonAncestor(b1, b2)); |
| |||
assertEquals( [[#variable20c6e7e0]], [[#variable20c6eb80]],goog.dom.findCommonAncestor(b1, [[#variable20c6ec00]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20c6e7e0]] | 'findCommonAncestor(b1, b1) = b1' |
1 | 2 | [[#20c6e7e0]] | 'findCommonAncestor(b1, b2) = p2' |
2 | 1 | [[#20c6eb80]] | b1 |
2 | 2 | [[#20c6eb80]] | p2 |
3 | 1 | [[#20c6ec00]] | b1 |
3 | 2 | [[#20c6ec00]] | b2 |