Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.983 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 76 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java |
2 | 3 | 80 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java |
| ||||
// if ((t && (v = t)) ? t : t && (v = f)) r = v; -- ok cst = this.optimizedIfTrueConstant; boolean isValueIfTrueOptimizedTrue = cst != null && cst != Constant.NotAConstant && cst.booleanValue() == true; boolean isValueIfTrueOptimizedFalse = cst != null && cst != Constant.NotAConstant && cst.booleanValue() == false; |
| ||||
cst = this.optimizedIfFalseConstant; boolean isValueIfFalseOptimizedTrue = cst != null && cst != Constant.NotAConstant && cst.booleanValue() == true; boolean isValueIfFalseOptimizedFalse = cst != null && cst != Constant.NotAConstant && cst.booleanValue() == false; |
| |||
// if ((t && (v = t)) ? t : t && (v = f)) r = v; -- ok cst = this. [[#variable599cc8e0]]; boolean [[#variable599cde20]]= cst != null && cst != Constant.NotAConstant && cst.booleanValue() == true; boolean [[#variable599cdea0]]= cst != null && cst != Constant.NotAConstant && cst.booleanValue() == false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#599cc8e0]] | optimizedIfTrueConstant |
1 | 2 | [[#599cc8e0]] | optimizedIfFalseConstant |
2 | 1 | [[#599cde20]] | isValueIfTrueOptimizedTrue |
2 | 2 | [[#599cde20]] | isValueIfFalseOptimizedTrue |
3 | 1 | [[#599cdea0]] | isValueIfTrueOptimizedFalse |
3 | 2 | [[#599cdea0]] | isValueIfFalseOptimizedFalse |