CloneSet3943


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.983statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1376
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
2380
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
Clone Instance
1
Line Count
3
Source Line
76
Source File
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;


Clone Instance
2
Line Count
3
Source Line
80
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java

                        cst = this.optimizedIfFalseConstant;
                        boolean isValueIfFalseOptimizedTrue = cst != null && cst != Constant.NotAConstant && cst.booleanValue() == true;
                        boolean isValueIfFalseOptimizedFalse = cst != null && cst != Constant.NotAConstant && cst.booleanValue() == false;


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#599cc8e0]]
optimizedIfTrueConstant 
12[[#599cc8e0]]
optimizedIfFalseConstant 
21[[#599cde20]]
isValueIfTrueOptimizedTrue 
22[[#599cde20]]
isValueIfFalseOptimizedTrue 
31[[#599cdea0]]
isValueIfTrueOptimizedFalse 
32[[#599cdea0]]
isValueIfFalseOptimizedFalse