CloneSet532


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

public void test3() {
  try {
    executeTarget("test3");
  }
  catch (BuildException
         e) {
    assertTrue("Circular definition not detected - ", e.getMessage().indexOf("was circularly defined") != -1);
    return;
  }
  fail("Did not throw exception on circular exception");
}


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

public void testCircularReference() {
  try {
    executeTarget("testCircularReference");
  }
  catch (BuildException
         e) {
    assertTrue("Circular definition not detected - ", e.getMessage().indexOf("was circularly defined") != -1);
    return;
  }
  fail("Did not throw exception on circular exception");
}


Clone AbstractionParameter Count: 2Parameter Bindings

public void [[#variable13164d40]]() {
  try {
    executeTarget( [[#variable13164cc0]]);
  }
  catch (BuildException
         e) {
    assertTrue("Circular definition not detected - ", e.getMessage().indexOf("was circularly defined") != -1);
    return;
  }
  fail("Did not throw exception on circular exception");
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13164d40]]
test3 
12[[#13164d40]]
testCircularReference 
21[[#13164cc0]]
"test3" 
22[[#13164cc0]]
"testCircularReference"