| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 3 | 2 | 0.965 | StatementList[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 249 | Closure/closure/goog/dom/dom_test.js |
| 2 | 2 | 254 | Closure/closure/goog/dom/dom_test.js |
| 3 | 2 | 260 | Closure/closure/goog/dom/dom_test.js |
| ||||
// Test empty node list.
el= goog.dom.$dom('div', null, emptyElem.childNodes);
assertNull('emptyElem.firstChild should be null', emptyElem.firstChild);
|
| ||||
// Test simple node list.
el= goog.dom.$dom('div', null, simpleElem.childNodes);
assertNull('simpleElem.firstChild should be null', simpleElem.firstChild);
|
| ||||
// Test complex node list.
el= goog.dom.$dom('div', null, complexElem.childNodes);
assertNull('complexElem.firstChild should be null', complexElem.firstChild);
|
| |||
// Test complex node list.
// Test simple node list.
// Test empty node list.
el=goog.dom.$dom('div',null, [[#variable1e07de80]].childNodes);
assertNull( [[#variable1e07d1c0]], [[#variable1e07de80]].firstChild);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1e07de80]] | complexElem |
| 1 | 2 | [[#1e07de80]] | simpleElem |
| 1 | 3 | [[#1e07de80]] | emptyElem |
| 2 | 1 | [[#1e07d1c0]] | 'complexElem.firstChild should be null' |
| 2 | 2 | [[#1e07d1c0]] | 'simpleElem.firstChild should be null' |
| 2 | 3 | [[#1e07d1c0]] | 'emptyElem.firstChild should be null' |