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.958 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 71 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestTest.java |
2 | 5 | 81 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestTest.java |
| |||||
/** * Empty manifest - is OK */ public void test1() throws ManifestException, IOException { executeTarget("test1"); Manifest manifest = getManifest(EXPANDED_MANIFEST); String version = manifest.getManifestVersion(); assertEquals("Manifest was not created with correct version - ", "1.0", version); } |
| |||||
/** * Simple Manifest with version 2.0 */ public void test2() throws ManifestException, IOException { executeTarget("test2"); Manifest manifest = getManifest(EXPANDED_MANIFEST); String version = manifest.getManifestVersion(); assertEquals("Manifest was not created with correct version - ", "2.0", version); } |
| |||
/** * Simple Manifest with version 2.0 */ /** * Empty manifest - is OK */ public void [[#variable13137a60]]() throws ManifestException, IOException { executeTarget( [[#variable131379c0]]); Manifest manifest = getManifest(EXPANDED_MANIFEST); String version = manifest.getManifestVersion(); assertEquals("Manifest was not created with correct version - ", [[#variable13137900]], version); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13137a60]] | test1 |
1 | 2 | [[#13137a60]] | test2 |
2 | 1 | [[#131379c0]] | "test1" |
2 | 2 | [[#131379c0]] | "test2" |
3 | 1 | [[#13137900]] | "1.0" |
3 | 2 | [[#13137900]] | "2.0" |