| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 19 | 4 | 4 | 0.962 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 19 | 525 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java |
| 2 | 19 | 545 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java |
| 3 | 20 | 700 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java |
| 4 | 19 | 724 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java |
| ||||
{
switch ((left.implicitConversion& IMPLICIT_CONVERSION_MASK) >> 4) { // operand runtime type
case T_int:
codeStream.if_icmpne(falseLabel);
break;
case T_float:
codeStream.fcmpl();
codeStream.ifne(falseLabel);
break;
case T_long:
codeStream.lcmp();
codeStream.ifne(falseLabel);
break;
case T_double:
codeStream.dcmpl();
codeStream.ifne(falseLabel);
break;
default:
codeStream.if_acmpne(falseLabel);
}
}
|
| ||||
{
switch ((left.implicitConversion& IMPLICIT_CONVERSION_MASK) >> 4) { // operand runtime type
case T_int:
codeStream.if_icmpeq(falseLabel);
break;
case T_float:
codeStream.fcmpl();
codeStream.ifeq(falseLabel);
break;
case T_long:
codeStream.lcmp();
codeStream.ifeq(falseLabel);
break;
case T_double:
codeStream.dcmpl();
codeStream.ifeq(falseLabel);
break;
default:
codeStream.if_acmpeq(falseLabel);
}
}
|
| ||||
{
// implicit falling through the FALSE case
switch ((left.implicitConversion& IMPLICIT_CONVERSION_MASK) >> 4) { // operand runtime type
case T_int:
codeStream.if_icmpeq(trueLabel);
break;
case T_float:
codeStream.fcmpl();
codeStream.ifeq(trueLabel);
break;
case T_long:
codeStream.lcmp();
codeStream.ifeq(trueLabel);
break;
case T_double:
codeStream.dcmpl();
codeStream.ifeq(trueLabel);
break;
default:
codeStream.if_acmpeq(trueLabel);
}
}
|
| ||||
{
switch ((left.implicitConversion& IMPLICIT_CONVERSION_MASK) >> 4) { // operand runtime type
case T_int:
codeStream.if_icmpne(falseLabel);
break;
case T_float:
codeStream.fcmpl();
codeStream.ifne(falseLabel);
break;
case T_long:
codeStream.lcmp();
codeStream.ifne(falseLabel);
break;
case T_double:
codeStream.dcmpl();
codeStream.ifne(falseLabel);
break;
default:
codeStream.if_acmpne(falseLabel);
}
}
|
| |||
{
// implicit falling through the FALSE case
switch ((left.implicitConversion&IMPLICIT_CONVERSION_MASK) >> 4) { // operand runtime type
case T_int:
codeStream. [[#variableb97128a0]]( [[#variableb9712840]]);
break;
case T_float:
codeStream.fcmpl();
codeStream. [[#variableb97127e0]]( [[#variableb9712840]]);
break;
case T_long:
codeStream.lcmp();
codeStream. [[#variableb97127e0]]( [[#variableb9712840]]);
break;
case T_double:
codeStream.dcmpl();
codeStream. [[#variableb97127e0]]( [[#variableb9712840]]);
break;
default:
codeStream. [[#variableb9712780]]( [[#variableb9712840]]);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b97128a0]] | if_icmpne |
| 1 | 2 | [[#b97128a0]] | if_icmpeq |
| 1 | 3 | [[#b97128a0]] | if_icmpeq |
| 1 | 4 | [[#b97128a0]] | if_icmpne |
| 2 | 1 | [[#b9712840]] | falseLabel |
| 2 | 2 | [[#b9712840]] | falseLabel |
| 2 | 3 | [[#b9712840]] | trueLabel |
| 2 | 4 | [[#b9712840]] | falseLabel |
| 3 | 1 | [[#b97127e0]] | ifne |
| 3 | 2 | [[#b97127e0]] | ifeq |
| 3 | 3 | [[#b97127e0]] | ifeq |
| 3 | 4 | [[#b97127e0]] | ifne |
| 4 | 1 | [[#b9712780]] | if_acmpne |
| 4 | 2 | [[#b9712780]] | if_acmpeq |
| 4 | 3 | [[#b9712780]] | if_acmpeq |
| 4 | 4 | [[#b9712780]] | if_acmpne |