Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 4 | 0.959 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 530 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java |
2 | 14 | 660 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java |
| ||||
while (interfaces.hasNext()) { inter = (InterfaceTypeImpl) interfaces.next(); addVisibleMethods(inter.visibleMethods(), namesAndSignatures, visibleMethods); } // If it is a class, all methods of it's superclass. if (this instanceof ClassType) { ClassType superclass = ((ClassType) this ).superclass(); if (superclass != null) addVisibleMethods(superclass.visibleMethods(), namesAndSignatures, visibleMethods); } fVisibleMethods = visibleMethods; return fVisibleMethods; |
| ||||
while (interfaces.hasNext()) { inter = (InterfaceTypeImpl) interfaces.next(); addVisibleFields(inter.visibleFields(), fieldNames, visibleFields); } // If it is a class, all fields of it's superclass. if (this instanceof ClassType) { ClassType superclass = ((ClassType) this ).superclass(); if (superclass != null) addVisibleFields(superclass.visibleFields(), fieldNames, visibleFields); } fVisibleFields = visibleFields; return fVisibleFields; |
| |||
while (interfaces.hasNext()) { inter = (InterfaceTypeImpl) interfaces.next(); [[#variable5a2e7e60]](inter. [[#variable9b243e40]](), [[#variable93b57da0]], [[#variable9b243e40]]); } // If it is a class, all methods of it's superclass. // If it is a class, all fields of it's superclass. if (this instanceof ClassType) { ClassType superclass = ((ClassType) this ).superclass(); if (superclass != null) [[#variable5a2e7e60]](superclass. [[#variable9b243e40]](), [[#variable93b57da0]], [[#variable9b243e40]]); } [[#variable5a34c300]]= [[#variable9b243e40]]; return [[#variable5a34c300]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a2e7e60]] | addVisibleMethods |
1 | 2 | [[#5a2e7e60]] | addVisibleFields |
2 | 1 | [[#9b243e40]] | visibleMethods |
2 | 2 | [[#9b243e40]] | visibleFields |
3 | 1 | [[#93b57da0]] | namesAndSignatures |
3 | 2 | [[#93b57da0]] | fieldNames |
4 | 1 | [[#5a34c300]] | fVisibleMethods |
4 | 2 | [[#5a34c300]] | fVisibleFields |