CloneSet682


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.964statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17138
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/DOMElementWriterTest.java
27216
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/DOMElementWriterTest.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
138
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/DOMElementWriterTest.java

w.write(root, sw, 0, "  ");
assertEquals("<root>" + StringUtils.LINE_SEP 
                                            //                     + "  <emptyElement></emptyElement>"
                                            + "  <emptyElement />" + StringUtils.LINE_SEP + "</root>" + StringUtils.LINE_SEP, sw.toString());


First
Previous
Clone Instance
2
Line Count
7
Source Line
216
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/DOMElementWriterTest.java

w.write(root, sw, 0, "  ");
assertEquals("<root xmlns=\"urn:foo\">" + StringUtils.LINE_SEP + "  <child />" + StringUtils.LINE_SEP + "</root>" + StringUtils.LINE_SEP, sw.toString());


Clone AbstractionParameter Count: 2Parameter Bindings

w.write(root, sw, 0, "  ");
assertEquals( [[#variable13052700]] + StringUtils.LINE_SEP 
                                                          //                     + "  <emptyElement></emptyElement>"
                                                          +  [[#variable130526e0]] + StringUtils.LINE_SEP + "</root>" + StringUtils.LINE_SEP, sw.toString());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13052700]]
"<root>" 
12[[#13052700]]
"<root xmlns=\"urn:foo\">" 
21[[#130526e0]]
"  <emptyElement />" 
22[[#130526e0]]
"  <child />"