CloneSet732


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3250.953StatementList[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13113
Closure/closure/goog/dom/dom_test.js
23132
Closure/closure/goog/dom/dom_test.js
Clone Instance
1
Line Count
3
Source Line
113
Source File
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');


Clone Instance
2
Line Count
3
Source Line
132
Source File
Closure/closure/goog/dom/dom_test.js

  var res=  goog.dom.setProperties(el, attrs);
  assertEquals('Should be equal', el.style.paddingLeft, '10px');
  assertEquals('Should be equal', el.className, 'mytestclass');


Clone AbstractionParameter Count: 5Parameter Bindings

var res=goog.dom.setProperties(el,attrs);
assertEquals('Should be equal', [[#variable62e747e0]]. [[#variable62e747a0]], [[#variable5718cbe0]]);
assertEquals('Should be equal',el. [[#variable62e74700]], [[#variable573f2340]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62e747e0]]
el 
12[[#62e747e0]]
el.style 
21[[#62e747a0]]
name 
22[[#62e747a0]]
paddingLeft 
31[[#5718cbe0]]
'test3' 
32[[#5718cbe0]]
'10px' 
41[[#62e74700]]
title 
42[[#62e74700]]
className 
51[[#573f2340]]
'A title' 
52[[#573f2340]]
'mytestclass'