Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.970 | StatementList[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 499 | Closure/closure/goog/dom/dom_test.js |
2 | 4 | 509 | Closure/closure/goog/dom/dom_test.js |
| ||||
assertEquals('Last element child is b2', 'b2', b2.id); var c= goog.dom.getLastElementChild(b2); assertNull('Last element child of b2 should be null', c); |
| ||||
assertEquals('Next element sibling is b2', 'b2', b2.id); var c= goog.dom.getNextElementSibling(b2); assertNull('Next element sibling of b2 should be null', c); |
| |||
assertEquals( [[#variable20e78760]],'b2',b2.id); var c=goog.dom. [[#variable21092d00]](b2); assertNull( [[#variable1f76a0c0]],c); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20e78760]] | 'Next element sibling is b2' |
1 | 2 | [[#20e78760]] | 'Last element child is b2' |
2 | 1 | [[#21092d00]] | getNextElementSibling |
2 | 2 | [[#21092d00]] | getLastElementChild |
3 | 1 | [[#1f76a0c0]] | 'Next element sibling of b2 should be null' |
3 | 2 | [[#1f76a0c0]] | 'Last element child of b2 should be null' |