CloneSet1609


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1162417
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
2162458
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
Clone Instance
1
Line Count
16
Source Line
2417
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java

                        // mismatch - restart current path segment
                        pSegmentEnd =
                                CharOperation.indexOf(pathSeparator, pattern, pSegmentStart = pSegmentRestart);
                        if (pSegmentEnd < 0) pSegmentEnd = pLength;

                        fSegmentRestart =
                                CharOperation.indexOf(pathSeparator, filepath, fSegmentRestart + 1);
                        // skip separator
                        if (fSegmentRestart < 0) {
                                fSegmentRestart = fLength;
                        }
                        else   {
                                fSegmentRestart++;
                        }
                        fSegmentEnd =
                                CharOperation.indexOf(pathSeparator, filepath, fSegmentStart = fSegmentRestart);
                        if (fSegmentEnd < 0) fSegmentEnd = fLength;
                        continue checkSegment;


Clone Instance
2
Line Count
16
Source Line
2458
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java

                        // mismatch - restart current path segment
                        pSegmentEnd =
                                CharOperation.indexOf(pathSeparator, pattern, pSegmentStart = pSegmentRestart);
                        if (pSegmentEnd < 0) pSegmentEnd = pLength;

                        fSegmentRestart =
                                CharOperation.indexOf(pathSeparator, filepath, fSegmentRestart + 1);
                        // skip separator
                        if (fSegmentRestart < 0) {
                                fSegmentRestart = fLength;
                        }
                        else   {
                                fSegmentRestart++;
                        }
                        fSegmentEnd =
                                CharOperation.indexOf(pathSeparator, filepath, fSegmentStart = fSegmentRestart);
                        if (fSegmentEnd < 0) fSegmentEnd = fLength;
                        continue checkSegment;


Clone AbstractionParameter Count: 0Parameter Bindings

// mismatch - restart current path segment
pSegmentEnd = CharOperation.indexOf(pathSeparator, pattern, pSegmentStart = pSegmentRestart);
if (pSegmentEnd < 0)
  pSegmentEnd = pLength;
fSegmentRestart = CharOperation.indexOf(pathSeparator, filepath, fSegmentRestart + 1);
// skip separator
if (fSegmentRestart < 0) {
  fSegmentRestart = fLength;
}
else {
  fSegmentRestart++;
}
fSegmentEnd = CharOperation.indexOf(pathSeparator, filepath, fSegmentStart = fSegmentRestart);
if (fSegmentEnd < 0)
  fSegmentEnd = fLength;
continue checkSegment;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None