| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 14 | 2 | 0 | 1.000 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 14 | 548 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java |
| 2 | 14 | 581 | 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);
}
|
| ||||
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);
}
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||