CloneSet3020


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.971statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1163149
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java
2163413
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java
Clone Instance
1
Line Count
16
Source Line
3149
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java

                switch (wrapStyle) {
                        case WRAP_COMPACT:
                                alignmentValue |= Alignment.M_COMPACT_SPLIT;
                                break;
                        case WRAP_COMPACT_FIRST_BREAK:
                                alignmentValue |= Alignment.M_COMPACT_FIRST_BREAK_SPLIT;
                                break;
                        case WRAP_NEXT_PER_LINE:
                                alignmentValue |= Alignment.M_NEXT_PER_LINE_SPLIT;
                                break;
                        case WRAP_NEXT_SHIFTED:
                                alignmentValue |= Alignment.M_NEXT_SHIFTED_SPLIT;
                                break;
                        case WRAP_ONE_PER_LINE:
                                alignmentValue |= Alignment.M_ONE_PER_LINE_SPLIT;
                                break;
                      }


Clone Instance
2
Line Count
16
Source Line
3413
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java

                        switch (wrappingStyle) {
                                case WRAP_COMPACT:
                                        existingValue |= Alignment.M_COMPACT_SPLIT;
                                        break;
                                case WRAP_COMPACT_FIRST_BREAK:
                                        existingValue |= Alignment.M_COMPACT_FIRST_BREAK_SPLIT;
                                        break;
                                case WRAP_NEXT_PER_LINE:
                                        existingValue |= Alignment.M_NEXT_PER_LINE_SPLIT;
                                        break;
                                case WRAP_NEXT_SHIFTED:
                                        existingValue |= Alignment.M_NEXT_SHIFTED_SPLIT;
                                        break;
                                case WRAP_ONE_PER_LINE:
                                        existingValue |= Alignment.M_ONE_PER_LINE_SPLIT;
                                        break;
                              }


Clone AbstractionParameter Count: 2Parameter Bindings

switch ( [[#variable53ab5e80]]) {
  case WRAP_COMPACT:
     [[#variable53ab5da0]]|= Alignment.M_COMPACT_SPLIT;
    break;
  case WRAP_COMPACT_FIRST_BREAK:
     [[#variable53ab5da0]]|= Alignment.M_COMPACT_FIRST_BREAK_SPLIT;
    break;
  case WRAP_NEXT_PER_LINE:
     [[#variable53ab5da0]]|= Alignment.M_NEXT_PER_LINE_SPLIT;
    break;
  case WRAP_NEXT_SHIFTED:
     [[#variable53ab5da0]]|= Alignment.M_NEXT_SHIFTED_SPLIT;
    break;
  case WRAP_ONE_PER_LINE:
     [[#variable53ab5da0]]|= Alignment.M_ONE_PER_LINE_SPLIT;
    break;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53ab5e80]]
wrapStyle 
12[[#53ab5e80]]
wrappingStyle 
21[[#53ab5da0]]
alignmentValue 
22[[#53ab5da0]]
existingValue