Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.968 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 60 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/ImmutableTest.java |
2 | 3 | 58 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AvailableTest.java |
| |||||
// ensure <checksum> follows the immutability rule public void test5() { executeTarget("test5"); assertEquals("original", project.getProperty("test")); } |
| |||||
// file does exist -> property 'test' == 'true' public void test5() { executeTarget("test5"); assertEquals("true", project.getProperty("test")); } |
| |||
// ensure <checksum> follows the immutability rule // file does exist -> property 'test' == 'true' public void test5() { executeTarget("test5"); assertEquals( [[#variable1129b160]], project.getProperty("test")); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1129b160]] | "original" |
1 | 2 | [[#1129b160]] | "true" |