CloneSet6783


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15340
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TokenScanner.java
24366
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TokenScanner.java
Clone Instance
1
Line Count
5
Source Line
340
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TokenScanner.java

                        int currStartLine = getLineOfOffset(getCurrentStartOffset());
                        int linesDifference = currStartLine - prevEndLine;

                        if (linesDifference > 1) {
                                return prevEndPos; // separated comments
                        }


Clone Instance
2
Line Count
4
Source Line
366
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TokenScanner.java

                int currStartLine = getLineOfOffset(getCurrentStartOffset());
                int linesDifference = currStartLine - prevEndLine;
                if (linesDifference > 1) {
                        return prevEndPos; // separated comments
                }


Clone AbstractionParameter Count: 0Parameter Bindings

int currStartLine = getLineOfOffset(getCurrentStartOffset());
int linesDifference = currStartLine - prevEndLine;
if (linesDifference > 1) {
  return prevEndPos; // separated comments
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None