CloneSet697


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114548
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
214581
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
Clone Instance
1
Line Count
14
Source Line
548
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java

                                                                        while (this.source[this.currentPosition] == 'u') {
                                                                                this.currentPosition++;
                                                                        }
                                                                        if ((c1 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 ||
                                                                                   c1 < 0 ||
                                                                                   (c2 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 ||
                                                                                   c2 < 0 ||
                                                                                   (c3 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 ||
                                                                                   c3 < 0 ||
                                                                                   (c4 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 ||
                                                                                   c4 < 0) {
                                                                                throw new InvalidInputException(INVALID_UNICODE_ESCAPE);
                                                                        }
                                                                        else   {
                                                                                this.currentCharacter = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4);
                                                                        }


Clone Instance
2
Line Count
14
Source Line
581
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java

                                                                                while (this.source[this.currentPosition] == 'u') {
                                                                                        this.currentPosition++;
                                                                                }
                                                                                if ((c1 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 ||
                                                                                           c1 < 0 ||
                                                                                           (c2 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 ||
                                                                                           c2 < 0 ||
                                                                                           (c3 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 ||
                                                                                           c3 < 0 ||
                                                                                           (c4 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 ||
                                                                                           c4 < 0) {
                                                                                        throw new InvalidInputException(INVALID_UNICODE_ESCAPE);
                                                                                }
                                                                                else   {
                                                                                        this.currentCharacter = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4);
                                                                                }


Clone AbstractionParameter Count: 0Parameter Bindings

while (this.source[this.currentPosition] == 'u') {
  this.currentPosition++;
}
if ((c1 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 || c1 < 0 || (c2 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 || c2 < 0 || (c3 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 || c3 < 0 || (c4 = ScannerHelper.getNumericValue(this.source[this.currentPosition++ ])) > 15 || c4 < 0) {
  throw new InvalidInputException(INVALID_UNICODE_ESCAPE);
}
else {
  this.currentCharacter = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None