CloneSet2203


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

                for (int i = 0,n = removedPositions.size(); i < n; i++) {
                        Position position = (Position) removedPositions.get(i);
                        int offset = position.getOffset();
                        minStart = Math.min(minStart, offset);
                        maxEnd = Math.max(maxEnd, offset + position.getLength());
                }


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

                for (int i = 0,n = addedPositions.size(); i < n; i++) {
                        Position position = (Position) addedPositions.get(i);
                        int offset = position.getOffset();
                        minStart = Math.min(minStart, offset);
                        maxEnd = Math.max(maxEnd, offset + position.getLength());
                }


Clone AbstractionParameter Count: 1Parameter Bindings

for (int i = 0, n = [[#variable556351a0]].size(); i < n; i++) {
  Position position = (Position)  [[#variable556351a0]].get(i);
  int offset = position.getOffset();
  minStart = Math.min(minStart, offset);
  maxEnd = Math.max(maxEnd, offset + position.getLength());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#556351a0]]
addedPositions 
12[[#556351a0]]
removedPositions