CloneSet1222


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.970StatementList[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14499
Closure/closure/goog/dom/dom_test.js
24509
Closure/closure/goog/dom/dom_test.js
Clone Instance
1
Line Count
4
Source Line
499
Source File
Closure/closure/goog/dom/dom_test.js

  assertEquals('Last element child is b2', 'b2', b2.id);

  var c=  goog.dom.getLastElementChild(b2);
  assertNull('Last element child of b2 should be null', c);


Clone Instance
2
Line Count
4
Source Line
509
Source File
Closure/closure/goog/dom/dom_test.js

  assertEquals('Next element sibling is b2', 'b2', b2.id);

  var c=  goog.dom.getNextElementSibling(b2);
  assertNull('Next element sibling of b2 should be null', c);


Clone AbstractionParameter Count: 3Parameter Bindings

assertEquals( [[#variable20e78760]],'b2',b2.id);
var c=goog.dom. [[#variable21092d00]](b2);
assertNull( [[#variable1f76a0c0]],c);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20e78760]]
'Next element sibling is b2' 
12[[#20e78760]]
'Last element child is b2' 
21[[#21092d00]]
getNextElementSibling 
22[[#21092d00]]
getLastElementChild 
31[[#1f76a0c0]]
'Next element sibling of b2 should be null' 
32[[#1f76a0c0]]
'Last element child of b2 should be null'