Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 3 | 1 | 0.996 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 1272 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java |
2 | 13 | 318 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/JavadocParser.java |
3 | 14 | 89 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceJavadocParser.java |
| ||||
char c = this.source[this.index++ ]; if (c == '\\' && this.source[this.index] == 'u') { int c1, c2, c3, c4; int pos = this.index; this.index++; while (this.source[this.index] == 'u') this.index++; if ( !(((c1 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c1 < 0) || ((c2 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c2 < 0) || ((c3 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c3 < 0) || ((c4 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c4 < 0))) { c = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } else { // TODO (frederic) currently reset to previous position, perhaps signal a syntax error would be more appropriate this.index = pos; } } |
| ||||
// Read first char // readChar() code is inlined to balance additional method call in checkDeprectation(int) char first = this.source[this.index++ ]; if (first == '\\' && this.source[this.index] == 'u') { int c1, c2, c3, c4; int pos = this.index; this.index++; while (this.source[this.index] == 'u') this.index++; if ( !(((c1 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c1 < 0) || ((c2 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c2 < 0) || ((c3 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c3 < 0) || ((c4 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c4 < 0))) { first = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } else { this.index = pos; } } |
| ||||
// Read first char // readChar() code is inlined to balance additional method call in checkDeprectation(int) char first = this.source[this.index++ ]; if (first == '\\' && this.source[this.index] == 'u') { int c1, c2, c3, c4; int pos = this.index; this.index++; while (this.source[this.index] == 'u') this.index++; if ( !(((c1 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c1 < 0) || ((c2 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c2 < 0) || ((c3 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c3 < 0) || ((c4 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c4 < 0))) { first = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } else { this.index = pos; } } |
| |||
// Read first char // readChar() code is inlined to balance additional method call in checkDeprectation(int) char [[#variablebbf24240]]= this.source[this.index++ ]; if ( [[#variablebbf24240]]== '\\' && this.source[this.index] == 'u') { int c1, c2, c3, c4; int pos = this.index; this.index++; while (this.source[this.index] == 'u') this.index++; if ( !(((c1 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c1 < 0) || ((c2 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c2 < 0) || ((c3 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c3 < 0) || ((c4 = ScannerHelper.getNumericValue(this.source[this.index++ ])) > 15 || c4 < 0))) { [[#variablebbf24240]]= (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } else { // TODO (frederic) currently reset to previous position, perhaps signal a syntax error would be more appropriate this.index = pos; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bbf24240]] | first |
1 | 2 | [[#bbf24240]] | c |
1 | 3 | [[#bbf24240]] | first |