CloneSet236


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
51320.972statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151317
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CharacterLiteral.java
251274
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/StringLiteral.java
351166
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java
Clone Instance
1
Line Count
51
Source Line
317
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CharacterLiteral.java

                switch (value) {
                        case '\b':
                                b.append("\\b"); //$NON-NLS-1$
                                break;
                        case '\t':
                                b.append("\\t"); //$NON-NLS-1$
                                break;
                        case '\n':
                                b.append("\\n"); //$NON-NLS-1$
                                break;
                        case '\f':
                                b.append("\\f"); //$NON-NLS-1$
                                break;
                        case '\r':
                                b.append("\\r"); //$NON-NLS-1$
                                break;
                        case '\"':
                                b.append("\\\""); //$NON-NLS-1$
                                break;
                        case '\'':
                                b.append("\\\'"); //$NON-NLS-1$
                                break;
                        case '\\':
                                b.append("\\\\"); //$NON-NLS-1$
                                break;
                        case '\u0000':
                                b.append("\\0"); //$NON-NLS-1$
                                break;
                        case '\u0001':
                                b.append("\\1"); //$NON-NLS-1$
                                break;
                        case '\u0002':
                                b.append("\\2"); //$NON-NLS-1$
                                break;
                        case '\u0003':
                                b.append("\\3"); //$NON-NLS-1$
                                break;
                        case '\u0004':
                                b.append("\\4"); //$NON-NLS-1$
                                break;
                        case '\u0005':
                                b.append("\\5"); //$NON-NLS-1$
                                break;
                        case '\u0006':
                                b.append("\\6"); //$NON-NLS-1$
                                break;
                        case '\u0007':
                                b.append("\\7"); //$NON-NLS-1$
                                break;
                        default:
                                b.append(value);
                      }


Clone Instance
2
Line Count
51
Source Line
274
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/StringLiteral.java

                        switch (c) {
                                case '\b':
                                        b.append("\\b"); //$NON-NLS-1$
                                        break;
                                case '\t':
                                        b.append("\\t"); //$NON-NLS-1$
                                        break;
                                case '\n':
                                        b.append("\\n"); //$NON-NLS-1$
                                        break;
                                case '\f':
                                        b.append("\\f"); //$NON-NLS-1$
                                        break;
                                case '\r':
                                        b.append("\\r"); //$NON-NLS-1$
                                        break;
                                case '\"':
                                        b.append("\\\""); //$NON-NLS-1$
                                        break;
                                case '\'':
                                        b.append("\\\'"); //$NON-NLS-1$
                                        break;
                                case '\\':
                                        b.append("\\\\"); //$NON-NLS-1$
                                        break;
                                case '\u0000':
                                        b.append("\\0"); //$NON-NLS-1$
                                        break;
                                case '\u0001':
                                        b.append("\\1"); //$NON-NLS-1$
                                        break;
                                case '\u0002':
                                        b.append("\\2"); //$NON-NLS-1$
                                        break;
                                case '\u0003':
                                        b.append("\\3"); //$NON-NLS-1$
                                        break;
                                case '\u0004':
                                        b.append("\\4"); //$NON-NLS-1$
                                        break;
                                case '\u0005':
                                        b.append("\\5"); //$NON-NLS-1$
                                        break;
                                case '\u0006':
                                        b.append("\\6"); //$NON-NLS-1$
                                        break;
                                case '\u0007':
                                        b.append("\\7"); //$NON-NLS-1$
                                        break;
                                default:
                                        b.append(c);
                              }


Clone Instance
3
Line Count
51
Source Line
166
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java

                        switch (c) {
                                case '\b':
                                        buffer.append("\\b"); //$NON-NLS-1$
                                        break;
                                case '\t':
                                        buffer.append("\\t"); //$NON-NLS-1$
                                        break;
                                case '\n':
                                        buffer.append("\\n"); //$NON-NLS-1$
                                        break;
                                case '\f':
                                        buffer.append("\\f"); //$NON-NLS-1$
                                        break;
                                case '\r':
                                        buffer.append("\\r"); //$NON-NLS-1$
                                        break;
                                case '\"':
                                        buffer.append("\\\""); //$NON-NLS-1$
                                        break;
                                case '\'':
                                        buffer.append("\\\'"); //$NON-NLS-1$
                                        break;
                                case '\\':
                                        buffer.append("\\\\"); //$NON-NLS-1$
                                        break;
                                case '\u0000':
                                        buffer.append("\\0"); //$NON-NLS-1$
                                        break;
                                case '\u0001':
                                        buffer.append("\\1"); //$NON-NLS-1$
                                        break;
                                case '\u0002':
                                        buffer.append("\\2"); //$NON-NLS-1$
                                        break;
                                case '\u0003':
                                        buffer.append("\\3"); //$NON-NLS-1$
                                        break;
                                case '\u0004':
                                        buffer.append("\\4"); //$NON-NLS-1$
                                        break;
                                case '\u0005':
                                        buffer.append("\\5"); //$NON-NLS-1$
                                        break;
                                case '\u0006':
                                        buffer.append("\\6"); //$NON-NLS-1$
                                        break;
                                case '\u0007':
                                        buffer.append("\\7"); //$NON-NLS-1$
                                        break;
                                default:
                                        buffer.append(c);
                              }


Clone AbstractionParameter Count: 2Parameter Bindings

switch ( [[#variableb3b35fe0]]) {
  case '\b':
     [[#variableb3b35e40]].append("\\b"); //$NON-NLS-1$
    break;
  case '\t':
     [[#variableb3b35e40]].append("\\t"); //$NON-NLS-1$
    break;
  case '\n':
     [[#variableb3b35e40]].append("\\n"); //$NON-NLS-1$
    break;
  case '\f':
     [[#variableb3b35e40]].append("\\f"); //$NON-NLS-1$
    break;
  case '\r':
     [[#variableb3b35e40]].append("\\r"); //$NON-NLS-1$
    break;
  case '\"':
     [[#variableb3b35e40]].append("\\\""); //$NON-NLS-1$
    break;
  case '\'':
     [[#variableb3b35e40]].append("\\\'"); //$NON-NLS-1$
    break;
  case '\\':
     [[#variableb3b35e40]].append("\\\\"); //$NON-NLS-1$
    break;
  case '\u0000':
     [[#variableb3b35e40]].append("\\0"); //$NON-NLS-1$
    break;
  case '\u0001':
     [[#variableb3b35e40]].append("\\1"); //$NON-NLS-1$
    break;
  case '\u0002':
     [[#variableb3b35e40]].append("\\2"); //$NON-NLS-1$
    break;
  case '\u0003':
     [[#variableb3b35e40]].append("\\3"); //$NON-NLS-1$
    break;
  case '\u0004':
     [[#variableb3b35e40]].append("\\4"); //$NON-NLS-1$
    break;
  case '\u0005':
     [[#variableb3b35e40]].append("\\5"); //$NON-NLS-1$
    break;
  case '\u0006':
     [[#variableb3b35e40]].append("\\6"); //$NON-NLS-1$
    break;
  case '\u0007':
     [[#variableb3b35e40]].append("\\7"); //$NON-NLS-1$
    break;
  default:
     [[#variableb3b35e40]].append( [[#variableb3b35fe0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3b35fe0]]
c 
12[[#b3b35fe0]]
c 
13[[#b3b35fe0]]
value 
21[[#b3b35e40]]
b 
22[[#b3b35e40]]
buffer 
23[[#b3b35e40]]
b