Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.957 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 48 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AbstractCvsTaskTest.java |
2 | 5 | 55 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AbstractCvsTaskTest.java |
| |||||
public void testPackageAttribute() { File f = getProject().resolveFile("tmpdir/ant/build.xml"); assertTrue("starting empty", !f.exists()); expectLogContaining("package-attribute", "U ant/build.xml"); assertTrue("now it is there", f.exists()); } |
| |||||
public void testTagAttribute() { File f = getProject().resolveFile("tmpdir/ant/build.xml"); assertTrue("starting empty", !f.exists()); expectLogContaining("tag-attribute", "ANT_141 (revision: 1.175.2.13)"); assertTrue("now it is there", f.exists()); } |
| |||
public void [[#variable131475e0]]() { File f = getProject().resolveFile("tmpdir/ant/build.xml"); assertTrue("starting empty", !f.exists()); expectLogContaining( [[#variable13147520]], [[#variable131474c0]]); assertTrue("now it is there", f.exists()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#131475e0]] | testPackageAttribute |
1 | 2 | [[#131475e0]] | testTagAttribute |
2 | 1 | [[#13147520]] | "package-attribute" |
2 | 2 | [[#13147520]] | "tag-attribute" |
3 | 1 | [[#131474c0]] | "U ant/build.xml" |
3 | 2 | [[#131474c0]] | "ANT_141 (revision: 1.175.2.13)" |