Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.963 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 529 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java |
2 | 5 | 121 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredElement.java |
| ||||
{ int depth = 0; ReferenceBinding current = this ; while ((current = current.enclosingType()) != null) depth++; return depth; } |
| ||||
{ int depth = 0; RecoveredElement current = this ; while ((current = current.parent) != null) depth++; return depth; } |
| |||
{ int depth = 0; [[#variable6420f400]] current = this ; while ((current = current [[#variable6420f420]]) != null) depth++; return depth; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6420f400]] | RecoveredElement |
1 | 2 | [[#6420f400]] | ReferenceBinding |
2 | 1 | [[#6420f420]] | .parent |
2 | 2 | [[#6420f420]] | .enclosingType() |