Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 10 | 2 | 0.986 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 197 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 5 | 202 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
3 | 5 | 207 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
4 | 5 | 212 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
5 | 5 | 217 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
6 | 5 | 222 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
7 | 5 | 227 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
8 | 5 | 232 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
9 | 5 | 237 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
10 | 5 | 242 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
| ||||
case OperatorIds.MULTIPLY: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameMULTIPLY)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.PLUS: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNamePLUS)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.DIVIDE: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameDIVIDE)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.REMAINDER: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameREMAINDER)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.XOR: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameXOR)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.MINUS: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameMINUS)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.OR: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameOR)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.AND: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameAND)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.AND_AND: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameAND_AND)); binaryExpression.right.traverse(builder, scope); break; |
| ||||
case OperatorIds.OR_OR: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens.TokenNameOR_OR)); binaryExpression.right.traverse(builder, scope); break; |
| |||
case OperatorIds. [[#variablec0a16a00]]: binaryExpression.left.traverse(builder, scope); builder.operatorsList.add(new Integer(TerminalTokens. [[#variablec0a169a0]])); binaryExpression.right.traverse(builder, scope); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c0a16a00]] | MULTIPLY |
1 | 2 | [[#c0a16a00]] | PLUS |
1 | 3 | [[#c0a16a00]] | DIVIDE |
1 | 4 | [[#c0a16a00]] | REMAINDER |
1 | 5 | [[#c0a16a00]] | XOR |
1 | 6 | [[#c0a16a00]] | MINUS |
1 | 7 | [[#c0a16a00]] | OR |
1 | 8 | [[#c0a16a00]] | AND |
1 | 9 | [[#c0a16a00]] | AND_AND |
1 | 10 | [[#c0a16a00]] | OR_OR |
2 | 1 | [[#c0a169a0]] | TokenNameMULTIPLY |
2 | 2 | [[#c0a169a0]] | TokenNamePLUS |
2 | 3 | [[#c0a169a0]] | TokenNameDIVIDE |
2 | 4 | [[#c0a169a0]] | TokenNameREMAINDER |
2 | 5 | [[#c0a169a0]] | TokenNameXOR |
2 | 6 | [[#c0a169a0]] | TokenNameMINUS |
2 | 7 | [[#c0a169a0]] | TokenNameOR |
2 | 8 | [[#c0a169a0]] | TokenNameAND |
2 | 9 | [[#c0a169a0]] | TokenNameAND_AND |
2 | 10 | [[#c0a169a0]] | TokenNameOR_OR |