Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.966 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 421 | Closure/closure/goog/dom/dom_test.js |
2 | 2 | 428 | Closure/closure/goog/dom/dom_test.js |
| ||||
var goodNode= goog.dom.createDom('div', { 'id': 'goodReplaceNode' } ); goog.dom.replaceNode(goodNode, n); |
| ||||
var badNode= goog.dom.createDom('div', { 'id': 'badReplaceNode' } ); goog.dom.replaceNode(badNode, n); |
| |||
var [[#variable3ed74ce0]]=goog.dom.createDom('div', { 'id': [[#variable1fecdde0]]} ); goog.dom.replaceNode( [[#variable3ed74ce0]],n); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3ed74ce0]] | goodNode |
1 | 2 | [[#3ed74ce0]] | badNode |
2 | 1 | [[#1fecdde0]] | 'goodReplaceNode' |
2 | 2 | [[#1fecdde0]] | 'badReplaceNode' |