CloneSet1710


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8440.968switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18237
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
28246
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
38305
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
48314
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
Clone Instance
1
Line Count
8
Source Line
237
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java

                                case '+':
                                        {
                                                int test;
                                                if ((test = getNextChar('+', '=')) == 0)
                                                        return TokenNamePLUS_PLUS;
                                                if (test > 0)
                                                        return TokenNamePLUS_EQUAL;
                                                return TokenNamePLUS;
                                        }


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

                                case '-':
                                        {
                                                int test;
                                                if ((test = getNextChar('-', '=')) == 0)
                                                        return TokenNameMINUS_MINUS;
                                                if (test > 0)
                                                        return TokenNameMINUS_EQUAL;
                                                return TokenNameMINUS;
                                        }


Clone Instance
3
Line Count
8
Source Line
305
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java

                                case '&':
                                        {
                                                int test;
                                                if ((test = getNextChar('&', '=')) == 0)
                                                        return TokenNameAND_AND;
                                                if (test > 0)
                                                        return TokenNameAND_EQUAL;
                                                return TokenNameAND;
                                        }


Clone Instance
4
Line Count
8
Source Line
314
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java

                                case '|':
                                        {
                                                int test;
                                                if ((test = getNextChar('|', '=')) == 0)
                                                        return TokenNameOR_OR;
                                                if (test > 0)
                                                        return TokenNameOR_EQUAL;
                                                return TokenNameOR;
                                        }


Clone AbstractionParameter Count: 4Parameter Bindings

case [[#variablea530dd80]]:
  {
    int test;
    if ((test = getNextChar( [[#variablea530dd80]], '=')) == 0)
      return [[#variablea530dd20]];
    if (test > 0)
      return [[#variablea530dca0]];
    return [[#variablea530dc00]];
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a530dd80]]
'+' 
12[[#a530dd80]]
'-' 
13[[#a530dd80]]
'&' 
14[[#a530dd80]]
'|' 
21[[#a530dd20]]
TokenNamePLUS_PLUS 
22[[#a530dd20]]
TokenNameMINUS_MINUS 
23[[#a530dd20]]
TokenNameAND_AND 
24[[#a530dd20]]
TokenNameOR_OR 
31[[#a530dca0]]
TokenNamePLUS_EQUAL 
32[[#a530dca0]]
TokenNameMINUS_EQUAL 
33[[#a530dca0]]
TokenNameAND_EQUAL 
34[[#a530dca0]]
TokenNameOR_EQUAL 
41[[#a530dc00]]
TokenNamePLUS 
42[[#a530dc00]]
TokenNameMINUS 
43[[#a530dc00]]
TokenNameAND 
44[[#a530dc00]]
TokenNameOR