Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 4 | 0.984 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 899 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java |
2 | 16 | 915 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java |
| ||||
case 's': checkSuper: { int max = TypeConstants.WILDCARD_SUPER.length - 1; for (int ahead = 1; ahead < max; ahead++) { if (typeName[this.namePos + ahead] != TypeConstants.WILDCARD_SUPER[ahead + 1]) { break checkSuper; } } this.namePos += max; Wildcard result = new Wildcard(Wildcard.SUPER); result.bound = decodeType(typeName, length, start, end); result.sourceStart = start; result.sourceEnd = end; return result; } break; |
| ||||
case 'e': checkExtends: { int max = TypeConstants.WILDCARD_EXTENDS.length - 1; for (int ahead = 1; ahead < max; ahead++) { if (typeName[this.namePos + ahead] != TypeConstants.WILDCARD_EXTENDS[ahead + 1]) { break checkExtends; } } this.namePos += max; Wildcard result = new Wildcard(Wildcard.EXTENDS); result.bound = decodeType(typeName, length, start, end); result.sourceStart = start; result.sourceEnd = end; return result; } break; |
| |||
case [[#variable99b128c0]]: [[#variable99b12820]]: { int max = TypeConstants. [[#variable99b127a0]].length - 1; for (int ahead = 1; ahead < max; ahead++) { if (typeName[this.namePos + ahead] != TypeConstants. [[#variable99b127a0]][ahead + 1]) { break [[#variable99b12820]]; } } this.namePos += max; Wildcard result = new Wildcard(Wildcard. [[#variable99b126a0]]); result.bound = decodeType(typeName, length, start, end); result.sourceStart = start; result.sourceEnd = end; return result; } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99b128c0]] | 's' |
1 | 2 | [[#99b128c0]] | 'e' |
2 | 1 | [[#99b12820]] | checkSuper |
2 | 2 | [[#99b12820]] | checkExtends |
3 | 1 | [[#99b127a0]] | WILDCARD_SUPER |
3 | 2 | [[#99b127a0]] | WILDCARD_EXTENDS |
4 | 1 | [[#99b126a0]] | SUPER |
4 | 2 | [[#99b126a0]] | EXTENDS |