Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.964 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 138 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/DOMElementWriterTest.java |
2 | 7 | 216 | 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()); |
| |||||
w.write(root, sw, 0, " "); assertEquals("<root xmlns=\"urn:foo\">" + StringUtils.LINE_SEP + " <child />" + StringUtils.LINE_SEP + "</root>" + StringUtils.LINE_SEP, sw.toString()); |
| |||
w.write(root, sw, 0, " "); assertEquals( [[#variable13052700]] + StringUtils.LINE_SEP // + " <emptyElement></emptyElement>" + [[#variable130526e0]] + StringUtils.LINE_SEP + "</root>" + StringUtils.LINE_SEP, sw.toString()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13052700]] | "<root>" |
1 | 2 | [[#13052700]] | "<root xmlns=\"urn:foo\">" |
2 | 1 | [[#130526e0]] | " <emptyElement />" |
2 | 2 | [[#130526e0]] | " <child />" |