Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 4 | 0.969 | switch_groups[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 2986 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 9 | 5228 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
| ||||
case OperatorIds.PLUS: operator = TerminalTokens.TokenNamePLUS_EQUAL; break; case OperatorIds.MINUS: operator = TerminalTokens.TokenNameMINUS_EQUAL; break; case OperatorIds.MULTIPLY: operator = TerminalTokens.TokenNameMULTIPLY_EQUAL; break; |
| ||||
case OperatorIds.PLUS: operator = TerminalTokens.TokenNamePLUS; break; case OperatorIds.MINUS: operator = TerminalTokens.TokenNameMINUS; break; case OperatorIds.TWIDDLE: operator = TerminalTokens.TokenNameTWIDDLE; break; |
| |||
case OperatorIds.PLUS: operator = TerminalTokens. [[#variable987f8f20]]; break; case OperatorIds.MINUS: operator = TerminalTokens. [[#variable987f8e80]]; break; case OperatorIds. [[#variable987f8e00]]: operator = TerminalTokens. [[#variable97a8dde0]]; break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#987f8f20]] | TokenNamePLUS |
1 | 2 | [[#987f8f20]] | TokenNamePLUS_EQUAL |
2 | 1 | [[#987f8e80]] | TokenNameMINUS |
2 | 2 | [[#987f8e80]] | TokenNameMINUS_EQUAL |
3 | 1 | [[#987f8e00]] | TWIDDLE |
3 | 2 | [[#987f8e00]] | MULTIPLY |
4 | 1 | [[#97a8dde0]] | TokenNameTWIDDLE |
4 | 2 | [[#97a8dde0]] | TokenNameMULTIPLY_EQUAL |