CloneSet3079


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21220.985switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121349
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/FastJavaPartitionScanner.java
221371
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/FastJavaPartitionScanner.java
Clone Instance
1
Line Count
21
Source Line
349
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/FastJavaPartitionScanner.java

                        case STRING:
                                switch (ch) {
                                case '\\':
                                        fLast = (fLast == BACKSLASH) ? NONE:  BACKSLASH;
                                        fTokenLength++;
                                        break;

                                case '\"':
                                        if (fLast != BACKSLASH) {
                                                return postFix(STRING);
                                        }
                                        else   {
                                                consume();
                                                break;
                                        }

                                default:
                                        consume();
                                        break;
                              }
                                break;


Clone Instance
2
Line Count
21
Source Line
371
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/FastJavaPartitionScanner.java

                        case CHARACTER:
                                switch (ch) {
                                case '\\':
                                        fLast = (fLast == BACKSLASH) ? NONE:  BACKSLASH;
                                        fTokenLength++;
                                        break;

                                case '\'':
                                        if (fLast != BACKSLASH) {
                                                return postFix(CHARACTER);
                                        }
                                        else   {
                                                consume();
                                                break;
                                        }

                                default:
                                        consume();
                                        break;
                              }
                                break;


Clone AbstractionParameter Count: 2Parameter Bindings

case [[#variable99138b60]]:
  switch (ch) {
    case '\\':
      fLast = (fLast == BACKSLASH) ? NONE: BACKSLASH;
      fTokenLength++;
      break;
    case [[#variable99138b00]]:
      if (fLast != BACKSLASH) {
        return postFix( [[#variable99138b60]]);
      }
      else {
        consume();
        break;
      }
    default:
      consume();
      break;
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99138b60]]
STRING 
12[[#99138b60]]
CHARACTER 
21[[#99138b00]]
'\"' 
22[[#99138b00]]
'\''