CloneSet4123


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.976statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15391
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
25400
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
Clone Instance
1
Line Count
5
Source Line
391
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java

                                for (int i = fAnchor; i < length; i++) {
                                        entry = (Entry) fList.get(i);
                                        if (entry.fPosition.equals(position)) {
                                                fAnchor = i;
                                                return entry.fValue;
                                        }
                                }


Clone Instance
2
Line Count
5
Source Line
400
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java

                                // before anchor
                                for (int i = 0; i < fAnchor; i++) {
                                        entry = (Entry) fList.get(i);
                                        if (entry.fPosition.equals(position)) {
                                                fAnchor = i;
                                                return entry.fValue;
                                        }
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

// before anchor
for (int i = [[#variable5d3d09e0]]; i <  [[#variable7301e120]]; i++) {
  entry = (Entry) fList.get(i);
  if (entry.fPosition.equals(position)) {
    fAnchor = i;
    return entry.fValue;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5d3d09e0]]
fAnchor 
12[[#5d3d09e0]]
0 
21[[#7301e120]]
length 
22[[#7301e120]]
fAnchor