Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 8 | 2 | 0.990 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 189 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/BinaryExpressionFragmentBuilder.java |
2 | 7 | 196 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/BinaryExpressionFragmentBuilder.java |
3 | 7 | 203 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/BinaryExpressionFragmentBuilder.java |
4 | 7 | 210 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/BinaryExpressionFragmentBuilder.java |
5 | 7 | 217 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/BinaryExpressionFragmentBuilder.java |
6 | 7 | 224 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/BinaryExpressionFragmentBuilder.java |
7 | 7 | 231 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/BinaryExpressionFragmentBuilder.java |
8 | 7 | 238 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/BinaryExpressionFragmentBuilder.java |
| ||||
case OperatorIds.PLUS: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens.TokenNamePLUS)); binaryExpression.right.traverse(this, scope); } return false; |
| ||||
case OperatorIds.MINUS: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens.TokenNameMINUS)); binaryExpression.right.traverse(this, scope); } return false; |
| ||||
case OperatorIds.MULTIPLY: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens.TokenNameMULTIPLY)); binaryExpression.right.traverse(this, scope); } return false; |
| ||||
case OperatorIds.REMAINDER: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens.TokenNameREMAINDER)); binaryExpression.right.traverse(this, scope); } return false; |
| ||||
case OperatorIds.XOR: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens.TokenNameXOR)); binaryExpression.right.traverse(this, scope); } return false; |
| ||||
case OperatorIds.DIVIDE: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens.TokenNameDIVIDE)); binaryExpression.right.traverse(this, scope); } return false; |
| ||||
case OperatorIds.OR: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens.TokenNameOR)); binaryExpression.right.traverse(this, scope); } return false; |
| ||||
case OperatorIds.AND: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens.TokenNameAND)); binaryExpression.right.traverse(this, scope); } return false; |
| |||
case OperatorIds. [[#variablebb989b00]]: if (buildFragments(binaryExpression)) { binaryExpression.left.traverse(this, scope); this.operatorsList.add(new Integer(TerminalTokens. [[#variablebb989a80]])); binaryExpression.right.traverse(this, scope); } return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bb989b00]] | PLUS |
1 | 2 | [[#bb989b00]] | MINUS |
1 | 3 | [[#bb989b00]] | MULTIPLY |
1 | 4 | [[#bb989b00]] | REMAINDER |
1 | 5 | [[#bb989b00]] | XOR |
1 | 6 | [[#bb989b00]] | DIVIDE |
1 | 7 | [[#bb989b00]] | OR |
1 | 8 | [[#bb989b00]] | AND |
2 | 1 | [[#bb989a80]] | TokenNamePLUS |
2 | 2 | [[#bb989a80]] | TokenNameMINUS |
2 | 3 | [[#bb989a80]] | TokenNameMULTIPLY |
2 | 4 | [[#bb989a80]] | TokenNameREMAINDER |
2 | 5 | [[#bb989a80]] | TokenNameXOR |
2 | 6 | [[#bb989a80]] | TokenNameDIVIDE |
2 | 7 | [[#bb989a80]] | TokenNameOR |
2 | 8 | [[#bb989a80]] | TokenNameAND |