Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.959 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 964 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
2 | 4 | 1034 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
| ||||
InfixExpression newCondition = fAst.newInfixExpression(); newCondition.setOperator(operator); newCondition.setLeftOperand(left); newCondition.setRightOperand(right); |
| ||||
InfixExpression newCondition = ast.newInfixExpression(); newCondition.setOperator(orOperator); newCondition.setLeftOperand(condition); newCondition.setRightOperand(ifCondition); |
| |||
InfixExpression newCondition = [[#variable58e9a2e0]].newInfixExpression(); newCondition.setOperator( [[#variable58e9a2a0]]); newCondition.setLeftOperand( [[#variable58e9af00]]); newCondition.setRightOperand( [[#variable58e9a240]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58e9a2e0]] | fAst |
1 | 2 | [[#58e9a2e0]] | ast |
2 | 1 | [[#58e9a2a0]] | operator |
2 | 2 | [[#58e9a2a0]] | orOperator |
3 | 1 | [[#58e9af00]] | left |
3 | 2 | [[#58e9af00]] | condition |
4 | 1 | [[#58e9a240]] | right |
4 | 2 | [[#58e9a240]] | ifCondition |