Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.960 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 322 | Closure/closure/goog/dom/dom_test.js |
2 | 4 | 330 | Closure/closure/goog/dom/dom_test.js |
| ||||
assertTrue('text child should come after parent', goog.dom.compareNodeOrder( b1.firstChild, b1) >0); assertTrue('first sibling should come before second', goog.dom.compareNodeOrder(b1, b2)< 0); |
| ||||
assertTrue('text node after cousin element returns correct value', goog.dom.compareNodeOrder(b1.nextSibling, b1)> 0); assertTrue('text node before cousin element returns correct value', goog.dom.compareNodeOrder(b1, b1.nextSibling)< 0); |
| |||
assertTrue( [[#variable3cf71760]],goog.dom.compareNodeOrder(b1. [[#variable62c257e0]],b1)>0); assertTrue( [[#variable3cf70640]],goog.dom.compareNodeOrder(b1, [[#variable3cf705e0]])<0); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3cf71760]] | 'text child should come after parent' |
1 | 2 | [[#3cf71760]] | 'text node after cousin element returns correct value' |
2 | 1 | [[#62c257e0]] | firstChild |
2 | 2 | [[#62c257e0]] | nextSibling |
3 | 1 | [[#3cf70640]] | 'first sibling should come before second' |
3 | 2 | [[#3cf70640]] | 'text node before cousin element returns correct value' |
4 | 1 | [[#3cf705e0]] | b2 |
4 | 2 | [[#3cf705e0]] | b1.nextSibling |