CloneSet3967


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.965statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14276
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java
24529
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java
Clone Instance
1
Line Count
4
Source Line
276
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java

                        for (int i = 0, length = fieldDecls.length; i < length; i++) {
                                if (CharOperation.equals(bindingName, fieldDecls[i].name)) {
                                        fieldDecl = fieldDecls[i];
                                        break;
                                }
                        }


Clone Instance
2
Line Count
4
Source Line
529
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java

                        for (int i = 0, length = methodDecls.length; i < length; i++) {
                                if (CharOperation.equals(bindingSelector, methodDecls[i].selector)) {
                                        methodDecl = methodDecls[i];
                                        break;
                                }
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0, length = [[#variable57c6f480]].length; i < length; i++) {
  if (CharOperation.equals( [[#variable57c6f400]],  [[#variable57c6f480]][i]. [[#variable57c6f360]])) {
     [[#variable57c6f260]]= [[#variable57c6f480]][i];
    break;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57c6f480]]
fieldDecls 
12[[#57c6f480]]
methodDecls 
21[[#57c6f400]]
bindingName 
22[[#57c6f400]]
bindingSelector 
31[[#57c6f360]]
name 
32[[#57c6f360]]
selector 
41[[#57c6f260]]
fieldDecl 
42[[#57c6f260]]
methodDecl