| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 4 | 3 | 0.962 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 195 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AND_AND_Expression.java |
| 2 | 3 | 199 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AND_AND_Expression.java |
| 3 | 3 | 197 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/OR_OR_Expression.java |
| 4 | 3 | 201 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/OR_OR_Expression.java |
| ||||
cst = left.optimizedBooleanConstant();
boolean leftIsConst = cst != Constant.NotAConstant;
boolean leftIsTrue = leftIsConst && cst.booleanValue() == true;
|
| ||||
cst = right.optimizedBooleanConstant();
boolean rightIsConst = cst != Constant.NotAConstant;
boolean rightIsTrue = rightIsConst && cst.booleanValue() == true;
|
| ||||
cst = left.optimizedBooleanConstant();
boolean leftIsConst = cst != Constant.NotAConstant;
boolean leftIsTrue = leftIsConst && cst.booleanValue() == true;
|
| ||||
cst = right.optimizedBooleanConstant();
boolean rightIsConst = cst != Constant.NotAConstant;
boolean rightIsTrue = rightIsConst && cst.booleanValue() == true;
|
| |||
cst = [[#variablebbc5a740]].optimizedBooleanConstant(); boolean [[#variablebbc5a600]]= cst != Constant.NotAConstant; boolean [[#variablebbc5a680]]= [[#variablebbc5a600]]&& cst.booleanValue() == true; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bbc5a740]] | left |
| 1 | 2 | [[#bbc5a740]] | right |
| 1 | 3 | [[#bbc5a740]] | left |
| 1 | 4 | [[#bbc5a740]] | right |
| 2 | 1 | [[#bbc5a600]] | leftIsConst |
| 2 | 2 | [[#bbc5a600]] | rightIsConst |
| 2 | 3 | [[#bbc5a600]] | leftIsConst |
| 2 | 4 | [[#bbc5a600]] | rightIsConst |
| 3 | 1 | [[#bbc5a680]] | leftIsTrue |
| 3 | 2 | [[#bbc5a680]] | rightIsTrue |
| 3 | 3 | [[#bbc5a680]] | leftIsTrue |
| 3 | 4 | [[#bbc5a680]] | rightIsTrue |