Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 2 | 0.985 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 349 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/FastJavaPartitionScanner.java |
2 | 21 | 371 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/FastJavaPartitionScanner.java |
| ||||
case STRING: switch (ch) { case '\\': fLast = (fLast == BACKSLASH) ? NONE: BACKSLASH; fTokenLength++; break; case '\"': if (fLast != BACKSLASH) { return postFix(STRING); } else { consume(); break; } default: consume(); break; } break; |
| ||||
case CHARACTER: switch (ch) { case '\\': fLast = (fLast == BACKSLASH) ? NONE: BACKSLASH; fTokenLength++; break; case '\'': if (fLast != BACKSLASH) { return postFix(CHARACTER); } else { consume(); break; } default: consume(); break; } break; |
| |||
case [[#variable99138b60]]: switch (ch) { case '\\': fLast = (fLast == BACKSLASH) ? NONE: BACKSLASH; fTokenLength++; break; case [[#variable99138b00]]: if (fLast != BACKSLASH) { return postFix( [[#variable99138b60]]); } else { consume(); break; } default: consume(); break; } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99138b60]] | STRING |
1 | 2 | [[#99138b60]] | CHARACTER |
2 | 1 | [[#99138b00]] | '\"' |
2 | 2 | [[#99138b00]] | '\'' |