Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.958 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 52 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/TypedefTest.java |
2 | 6 | 60 | 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()); } |
| |||||
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()); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13135740]] | testGlobal |
1 | 2 | [[#13135740]] | testLocal |
2 | 1 | [[#13135620]] | "testGlobal" |
2 | 2 | [[#13135620]] | "testLocal" |
3 | 1 | [[#13135720]] | "global" |
3 | 2 | [[#13135720]] | "local" |