CloneSet1287


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.968method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1360
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/ImmutableTest.java
2358
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AvailableTest.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
60
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/ImmutableTest.java

// ensure <checksum> follows the immutability rule
public void test5() {
  executeTarget("test5");
  assertEquals("original", project.getProperty("test"));
}


First
Previous
Clone Instance
2
Line Count
3
Source Line
58
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AvailableTest.java

// file does exist -> property 'test' == 'true'
public void test5() {
  executeTarget("test5");
  assertEquals("true", project.getProperty("test"));
}


Clone AbstractionParameter Count: 1Parameter Bindings

// ensure <checksum> follows the immutability rule
// file does exist -> property 'test' == 'true'
public void test5() {
  executeTarget("test5");
  assertEquals( [[#variable1129b160]], project.getProperty("test"));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1129b160]]
"original" 
12[[#1129b160]]
"true"