| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 3 | 2 | 0.975 | statement_sequence[6] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 810 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
| 2 | 7 | 895 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
| 3 | 7 | 944 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
| ||||
PrefixExpression pe = fAst.newPrefixExpression();
pe.setOperator(PrefixExpression.Operator.NOT);
pe.setOperand(superEqualsCall);
IfStatement superEqualsIf = fAst.newIfStatement();
superEqualsIf.setExpression(pe);
superEqualsIf.setThenStatement(getReturnFalse());
|
| ||||
PrefixExpression pe = fAst.newPrefixExpression();
pe.setOperator(PrefixExpression.Operator.NOT);
pe.setOperand(invoc);
IfStatement ifSt = fAst.newIfStatement();
ifSt.setExpression(pe);
ifSt.setThenStatement(getReturnFalse());
|
| ||||
PrefixExpression pe = fAst.newPrefixExpression();
pe.setOperator(PrefixExpression.Operator.NOT);
pe.setOperand(invoc);
IfStatement elsePart = fAst.newIfStatement();
elsePart.setExpression(pe);
elsePart.setThenStatement(getReturnFalse());
|
| |||
PrefixExpression pe = fAst.newPrefixExpression(); pe.setOperator(PrefixExpression.Operator.NOT); pe.setOperand( [[#variableb9fe4500]]); IfStatement [[#variableb9fe44c0]]= fAst.newIfStatement(); [[#variableb9fe44c0]].setExpression(pe); [[#variableb9fe44c0]].setThenStatement(getReturnFalse()); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b9fe4500]] | superEqualsCall |
| 1 | 2 | [[#b9fe4500]] | invoc |
| 1 | 3 | [[#b9fe4500]] | invoc |
| 2 | 1 | [[#b9fe44c0]] | superEqualsIf |
| 2 | 2 | [[#b9fe44c0]] | ifSt |
| 2 | 3 | [[#b9fe44c0]] | elsePart |