CloneSet747


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.981executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11279
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/AntClassLoaderTest.java
21091
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/AntClassLoaderTest.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
79
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/AntClassLoaderTest.java

try {
  // we don't expect to find this
  loader.findClass("fubar");
  fail("Did not expect to find fubar class");
}
catch (ClassNotFoundException
       e) {
// ignore expected
}
catch (NullPointerException
       e) {
  fail("loader should not fail even if cleaned up");
}


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

try {
  // we don't expect to find this
  loader.findClass("fubar");
  fail("Did not expect to find fubar class");
}
catch (ClassNotFoundException
       e) {
// ignore expected
}
catch (NullPointerException
       e) {
  fail("loader should not fail even if project finished");
}


Clone AbstractionParameter Count: 1Parameter Bindings

try {
  // we don't expect to find this
  loader.findClass("fubar");
  fail("Did not expect to find fubar class");
}
catch (ClassNotFoundException
       e) {
// ignore expected
}
catch (NullPointerException
       e) {
  fail( [[#variable1308b880]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1308b880]]
"loader should not fail even if cleaned up" 
12[[#1308b880]]
"loader should not fail even if project finished"