Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.958 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 263 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java |
2 | 9 | 286 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java |
| ||||
{ MethodBinding[] methods = superClass.getMethods(this.pattern.selector); int length = methods.length; for (int i = 0; i < length; i++) { if (methods[i].areParametersEqual(method)) { if (matchMethod == null) { if (methodParametersEqualsPattern(methods[i].original())) return true; } else { if (methods[i].original().areParametersEqual(matchMethod)) return true; } } } } |
| ||||
{ MethodBinding[] methods = interfaces[i].getMethods(this.pattern.selector); int length = methods.length; for (int j = 0; j < length; j++) { if (methods[j].areParametersEqual(method)) { if (matchMethod == null) { if (methodParametersEqualsPattern(methods[j].original())) return true; } else { if (methods[j].original().areParametersEqual(matchMethod)) return true; } } } } |
| |||
{ MethodBinding[] methods = [[#variable7d139240]].getMethods(this.pattern.selector); int length = methods.length; for (int [[#variable7d1391a0]]= 0; [[#variable7d1391a0]] < length; [[#variable7d1391a0]]++) { if (methods[ [[#variable7d1391a0]]].areParametersEqual(method)) { if (matchMethod == null) { if (methodParametersEqualsPattern(methods[ [[#variable7d1391a0]]].original())) return true; } else { if (methods[ [[#variable7d1391a0]]].original().areParametersEqual(matchMethod)) return true; } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d139240]] | interfaces[i] |
1 | 2 | [[#7d139240]] | superClass |
2 | 1 | [[#7d1391a0]] | j |
2 | 2 | [[#7d1391a0]] | i |