CloneSet384


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

  assertEquals('equal nodes should compare to 0', 0,
      goog.dom.compareNodeOrder(b1, b1));

  assertTrue('parent should come before child',
      goog.dom.compareNodeOrder(p2, b1)<  0);
  assertTrue('child should come after parent',
      goog.dom.compareNodeOrder(b1, p2)>  0);


Clone Instance
2
Line Count
6
Source Line
376
Source File
Closure/closure/goog/dom/dom_test.js

  assertEquals('Equal text nodes should compare to 0', 0,
      goog.dom.compareNodeOrder(text1, text1));
  assertTrue('First text node is before second',
      goog.dom.compareNodeOrder(text1, text2)<  0);
  assertTrue('Second text node is after first',
      goog.dom.compareNodeOrder(text2, text1)>  0);


Clone AbstractionParameter Count: 6Parameter Bindings

assertEquals( [[#variable572c8360]],0,goog.dom.compareNodeOrder( [[#variable572c82a0]], [[#variable572c82a0]]));
assertTrue( [[#variable572c8240]],goog.dom.compareNodeOrder( [[#variable57161560]], [[#variable5ea3f580]])<0);
assertTrue( [[#variable5ea3f5a0]],goog.dom.compareNodeOrder( [[#variable5ea3f580]], [[#variable57161560]])>0);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#572c8360]]
'Equal text nodes should compare to 0' 
12[[#572c8360]]
'equal nodes should compare to 0' 
21[[#572c82a0]]
text1 
22[[#572c82a0]]
b1 
31[[#572c8240]]
'First text node is before second' 
32[[#572c8240]]
'parent should come before child' 
41[[#57161560]]
text1 
42[[#57161560]]
p2 
51[[#5ea3f580]]
text2 
52[[#5ea3f580]]
b1 
61[[#5ea3f5a0]]
'Second text node is after first' 
62[[#5ea3f5a0]]
'child should come after parent'