Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.965 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 276 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java |
2 | 4 | 529 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java |
| ||||
for (int i = 0, length = fieldDecls.length; i < length; i++) { if (CharOperation.equals(bindingName, fieldDecls[i].name)) { fieldDecl = fieldDecls[i]; break; } } |
| ||||
for (int i = 0, length = methodDecls.length; i < length; i++) { if (CharOperation.equals(bindingSelector, methodDecls[i].selector)) { methodDecl = methodDecls[i]; break; } } |
| |||
for (int i = 0, length = [[#variable57c6f480]].length; i < length; i++) { if (CharOperation.equals( [[#variable57c6f400]], [[#variable57c6f480]][i]. [[#variable57c6f360]])) { [[#variable57c6f260]]= [[#variable57c6f480]][i]; break; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57c6f480]] | fieldDecls |
1 | 2 | [[#57c6f480]] | methodDecls |
2 | 1 | [[#57c6f400]] | bindingName |
2 | 2 | [[#57c6f400]] | bindingSelector |
3 | 1 | [[#57c6f360]] | name |
3 | 2 | [[#57c6f360]] | selector |
4 | 1 | [[#57c6f260]] | fieldDecl |
4 | 2 | [[#57c6f260]] | methodDecl |