Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 5 | 0.953 | StatementList[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 113 | Closure/closure/goog/dom/dom_test.js |
2 | 3 | 132 | Closure/closure/goog/dom/dom_test.js |
| ||||
var res= goog.dom.setProperties(el, attrs); assertEquals('Should be equal', el.name, 'test3'); assertEquals('Should be equal', el.title, 'A title'); |
| ||||
var res= goog.dom.setProperties(el, attrs); assertEquals('Should be equal', el.style.paddingLeft, '10px'); assertEquals('Should be equal', el.className, 'mytestclass'); |
| |||
var res=goog.dom.setProperties(el,attrs); assertEquals('Should be equal', [[#variable62e747e0]]. [[#variable62e747a0]], [[#variable5718cbe0]]); assertEquals('Should be equal',el. [[#variable62e74700]], [[#variable573f2340]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62e747e0]] | el |
1 | 2 | [[#62e747e0]] | el.style |
2 | 1 | [[#62e747a0]] | name |
2 | 2 | [[#62e747a0]] | paddingLeft |
3 | 1 | [[#5718cbe0]] | 'test3' |
3 | 2 | [[#5718cbe0]] | '10px' |
4 | 1 | [[#62e74700]] | title |
4 | 2 | [[#62e74700]] | className |
5 | 1 | [[#573f2340]] | 'A title' |
5 | 2 | [[#573f2340]] | 'mytestclass' |