Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 4 | 4 | 0.968 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 237 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java |
2 | 8 | 246 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java |
3 | 8 | 305 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java |
4 | 8 | 314 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java |
| ||||
case '+': { int test; if ((test = getNextChar('+', '=')) == 0) return TokenNamePLUS_PLUS; if (test > 0) return TokenNamePLUS_EQUAL; return TokenNamePLUS; } |
| ||||
case '-': { int test; if ((test = getNextChar('-', '=')) == 0) return TokenNameMINUS_MINUS; if (test > 0) return TokenNameMINUS_EQUAL; return TokenNameMINUS; } |
| ||||
case '&': { int test; if ((test = getNextChar('&', '=')) == 0) return TokenNameAND_AND; if (test > 0) return TokenNameAND_EQUAL; return TokenNameAND; } |
| ||||
case '|': { int test; if ((test = getNextChar('|', '=')) == 0) return TokenNameOR_OR; if (test > 0) return TokenNameOR_EQUAL; return TokenNameOR; } |
| |||
case [[#variablea530dd80]]: { int test; if ((test = getNextChar( [[#variablea530dd80]], '=')) == 0) return [[#variablea530dd20]]; if (test > 0) return [[#variablea530dca0]]; return [[#variablea530dc00]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a530dd80]] | '+' |
1 | 2 | [[#a530dd80]] | '-' |
1 | 3 | [[#a530dd80]] | '&' |
1 | 4 | [[#a530dd80]] | '|' |
2 | 1 | [[#a530dd20]] | TokenNamePLUS_PLUS |
2 | 2 | [[#a530dd20]] | TokenNameMINUS_MINUS |
2 | 3 | [[#a530dd20]] | TokenNameAND_AND |
2 | 4 | [[#a530dd20]] | TokenNameOR_OR |
3 | 1 | [[#a530dca0]] | TokenNamePLUS_EQUAL |
3 | 2 | [[#a530dca0]] | TokenNameMINUS_EQUAL |
3 | 3 | [[#a530dca0]] | TokenNameAND_EQUAL |
3 | 4 | [[#a530dca0]] | TokenNameOR_EQUAL |
4 | 1 | [[#a530dc00]] | TokenNamePLUS |
4 | 2 | [[#a530dc00]] | TokenNameMINUS |
4 | 3 | [[#a530dc00]] | TokenNameAND |
4 | 4 | [[#a530dc00]] | TokenNameOR |