CloneSet461


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

public void testGlobal() {
  expectLog("testGlobal", "");
  Object ref = project.getReferences().get("global");
  assertNotNull("ref is not null", ref);
  assertEquals("org.example.types.TypedefTestType", ref.getClass().getName());
}


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

public void testLocal() {
  expectLog("testLocal", "");
  Object ref = project.getReferences().get("local");
  assertNotNull("ref is not null", ref);
  assertEquals("org.example.types.TypedefTestType", ref.getClass().getName());
}


Clone AbstractionParameter Count: 3Parameter Bindings

public void [[#variable13135740]]() {
  expectLog( [[#variable13135620]], "");
  Object ref = project.getReferences().get( [[#variable13135720]]);
  assertNotNull("ref is not null", ref);
  assertEquals("org.example.types.TypedefTestType", ref.getClass().getName());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13135740]]
testGlobal 
12[[#13135740]]
testLocal 
21[[#13135620]]
"testGlobal" 
22[[#13135620]]
"testLocal" 
31[[#13135720]]
"global" 
32[[#13135720]]
"local"