Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 2 | 0.971 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 3149 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/DefaultCodeFormatterConstants.java |
2 | 16 | 3413 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53ab5e80]] | wrapStyle |
1 | 2 | [[#53ab5e80]] | wrappingStyle |
2 | 1 | [[#53ab5da0]] | alignmentValue |
2 | 2 | [[#53ab5da0]] | existingValue |