CloneSet189


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13310.996statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1141272
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
213318
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/JavadocParser.java
31489
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceJavadocParser.java
Clone Instance
1
Line Count
14
Source Line
1272
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.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;
                        }
                }


Clone Instance
2
Line Count
13
Source Line
318
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/JavadocParser.java

                // 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;
                        }
                }


Clone Instance
3
Line Count
14
Source Line
89
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceJavadocParser.java

        // 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;
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bbf24240]]
first 
12[[#bbf24240]]
c 
13[[#bbf24240]]
first