Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.967 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 251 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java |
2 | 5 | 481 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java |
| ||||
ReferenceBinding declaringClass = fieldBinding.declaringClass; IType type = locator.lookupType(declaringClass); if (type == null) return; // case of a secondary type char[] bindingName = fieldBinding.name; |
| ||||
ReferenceBinding declaringClass = methodBinding.declaringClass; IType type = locator.lookupType(declaringClass); if (type == null) return; // case of a secondary type char[] bindingSelector = methodBinding.selector; |
| |||
ReferenceBinding declaringClass = [[#variable90674540]].declaringClass; IType type = locator.lookupType(declaringClass); if (type == null) return; // case of a secondary type char[] [[#variable90674500]]= [[#variable90674540]]. [[#variable90689ae0]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#90674540]] | methodBinding |
1 | 2 | [[#90674540]] | fieldBinding |
2 | 1 | [[#90674500]] | bindingSelector |
2 | 2 | [[#90674500]] | bindingName |
3 | 1 | [[#90689ae0]] | selector |
3 | 2 | [[#90689ae0]] | name |