Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 2 | 0 | 1.000 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 19 | 180 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ExpressionsFix.java |
2 | 19 | 651 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
| ||||
if (expression instanceof PrefixExpression) { return 1; } if ((expression instanceof ClassInstanceCreation) || (expression instanceof CastExpression)) { return 2; } if (expression instanceof InfixExpression) { InfixExpression infixExpression = (InfixExpression) expression; InfixExpression.Operator operator = infixExpression.getOperator(); return getInfixOperatorPrecedence(operator); } if (expression instanceof InstanceofExpression) { return 6; } if (expression instanceof ConditionalExpression) { return 13; } if (expression instanceof Assignment) { return 14; } |
| ||||
if (expression instanceof PrefixExpression) { return 1; } if ((expression instanceof ClassInstanceCreation) || (expression instanceof CastExpression)) { return 2; } if (expression instanceof InfixExpression) { InfixExpression infixExpression = (InfixExpression) expression; InfixExpression.Operator operator = infixExpression.getOperator(); return getInfixOperatorPrecedence(operator); } if (expression instanceof InstanceofExpression) { return 6; } if (expression instanceof ConditionalExpression) { return 13; } if (expression instanceof Assignment) { return 14; } |
| |||
if (expression instanceof PrefixExpression) { return 1; } if ((expression instanceof ClassInstanceCreation) || (expression instanceof CastExpression)) { return 2; } if (expression instanceof InfixExpression) { InfixExpression infixExpression = (InfixExpression) expression; InfixExpression.Operator operator = infixExpression.getOperator(); return getInfixOperatorPrecedence(operator); } if (expression instanceof InstanceofExpression) { return 6; } if (expression instanceof ConditionalExpression) { return 13; } if (expression instanceof Assignment) { return 14; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |