| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 1 | 0.973 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 50 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/InfixExpressionWrappingBuilder.java |
| 2 | 4 | 61 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/InfixExpressionWrappingBuilder.java |
| ||||
if (leftOperand.getNodeType() == ASTNode.INFIX_EXPRESSION && isSplittable(leftOperand)) {
leftOperand.accept(this );
}
else {
this.fragments.add(leftOperand);
}
|
| ||||
if (rightOperand.getNodeType() == ASTNode.INFIX_EXPRESSION && isSplittable(leftOperand)) {
rightOperand.accept(this );
}
else {
this.fragments.add(rightOperand);
}
|
| |||
if ( [[#variable60cfc420]].getNodeType() == ASTNode.INFIX_EXPRESSION && isSplittable(leftOperand)) {
[[#variable60cfc420]].accept(this );
}
else {
this.fragments.add( [[#variable60cfc420]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#60cfc420]] | leftOperand |
| 1 | 2 | [[#60cfc420]] | rightOperand |