Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 6 | 2 | 0.961 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 44 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AntTest.java |
2 | 16 | 69 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java |
3 | 10 | 40 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/FilterTest.java |
4 | 10 | 35 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/GetTest.java |
5 | 10 | 38 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/GUnzipTest.java |
6 | 10 | 47 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java |
| |||||
public void tearDown() { executeTarget("cleanup"); } public void test1() { expectBuildException("test1", "recursive call"); } // target must be specified public void test2() { expectBuildException("test2", "required argument not specified"); } |
| |||||
/** * Test tear down, called by the unit test framework prior to each * test. */ public void tearDown() { executeTarget("cleanup"); } /** * Expect an exception when insufficient information is provided. */ public void test1() { expectBuildException("test1", "Insufficient information."); } /** * Expect an exception when the destination file is invalid. */ public void test2() { expectBuildException("test2", "Invalid destination file."); } |
| |||||
public void tearDown() { executeTarget("cleanup"); } public void test1() { expectBuildException("test1", "required argument missing"); } public void test2() { expectBuildException("test2", "required argument missing"); } |
| |||||
public void tearDown() { executeTarget("cleanup"); } public void test1() { expectBuildException("test1", "required argument missing"); } public void test2() { expectBuildException("test2", "required argument missing"); } |
| |||||
public void tearDown() { executeTarget("cleanup"); } public void test1() { expectBuildException("test1", "required argument missing"); } public void test2() { expectBuildException("test2", "attribute src invalid"); } |
| |||||
public void tearDown() { executeTarget("cleanup"); } public void test1() { expectBuildException("test1", "required argument, target, missing"); } public void test2() { expectBuildException("test2", "Invalid output directory"); } |
| |||
/** * Test tear down, called by the unit test framework prior to each * test. */ public void tearDown() { executeTarget("cleanup"); } /** * Expect an exception when insufficient information is provided. */ public void test1() { expectBuildException("test1", [[#variablefde0f00]]); } // target must be specified /** * Expect an exception when the destination file is invalid. */ public void test2() { expectBuildException("test2", [[#variablefde0e20]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#fde0f00]] | "recursive call" |
1 | 2 | [[#fde0f00]] | "Insufficient information." |
1 | 3 | [[#fde0f00]] | "required argument missing" |
1 | 4 | [[#fde0f00]] | "required argument missing" |
1 | 5 | [[#fde0f00]] | "required argument missing" |
1 | 6 | [[#fde0f00]] | "required argument, target, missing" |
2 | 1 | [[#fde0e20]] | "required argument not specified" |
2 | 2 | [[#fde0e20]] | "Invalid destination file." |
2 | 3 | [[#fde0e20]] | "required argument missing" |
2 | 4 | [[#fde0e20]] | "required argument missing" |
2 | 5 | [[#fde0e20]] | "attribute src invalid" |
2 | 6 | [[#fde0e20]] | "Invalid output directory" |