CloneSet244


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14230.972block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11471
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IncludeTest.java
21498
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IncludeTest.java
Next
Last
Clone Instance
1
Line Count
14
Source Line
71
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IncludeTest.java

{
  configureProject("src/etc/testcases/core/include/including_file_task_error/build.xml");
  try {
    executeTarget("test");
    fail("should have cause a build failure");
  }
  catch (BuildException
         e) {
    assertTrue(e.getMessage() + " should start with \'Warning: Could not find", e.getMessage().startsWith("Warning: Could not find file "));
    assertTrue(e.getLocation().toString() + " should end with build.xml:14: ", e.getLocation().toString().endsWith("build.xml:14: "));
  }
}


First
Previous
Clone Instance
2
Line Count
14
Source Line
98
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IncludeTest.java

{
  configureProject("src/etc/testcases/core/include/included_file_task_error/build.xml");
  try {
    executeTarget("test");
    fail("should have cause a build failure");
  }
  catch (BuildException
         e) {
    assertTrue(e.getMessage() + " should start with \'Warning: Could not find", e.getMessage().startsWith("Warning: Could not find file "));
    assertTrue(e.getLocation().toString() + " should end with included_file.xml:2: ", e.getLocation().toString().endsWith("included_file.xml:2: "));
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

{
  configureProject( [[#variable131b6a20]]);
  try {
    executeTarget("test");
    fail("should have cause a build failure");
  }
  catch (BuildException
         e) {
    assertTrue(e.getMessage() + " should start with \'Warning: Could not find", e.getMessage().startsWith("Warning: Could not find file "));
    assertTrue(e.getLocation().toString() +  [[#variable131b69e0]], e.getLocation().toString().endsWith( [[#variable131b6a40]]));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#131b6a20]]
"src/etc/testcases/core/include/including_file_task_error/build.xml" 
12[[#131b6a20]]
"src/etc/testcases/core/include/included_file_task_error/build.xml" 
21[[#131b69e0]]
" should end with build.xml:14: " 
22[[#131b69e0]]
" should end with included_file.xml:2: " 
31[[#131b6a40]]
"build.xml:14: " 
32[[#131b6a40]]
"included_file.xml:2: "