CloneSet2931


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.986statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14346
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java
24351
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java
Clone Instance
1
Line Count
4
Source Line
346
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java

                // optimized cases: true == x, false == x
                if (left.constant != Constant.NotAConstant) {
                        boolean inline = left.constant.booleanValue();
                        right.generateOptimizedBoolean(currentScope, codeStream, (inline ? trueLabel:  falseLabel), (inline ? falseLabel:  trueLabel), valueRequired);
                        return;
                } // optimized cases: x == true, x == false


Clone Instance
2
Line Count
4
Source Line
351
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java

                if (right.constant != Constant.NotAConstant) {
                        boolean inline = right.constant.booleanValue();
                        left.generateOptimizedBoolean(currentScope, codeStream, (inline ? trueLabel:  falseLabel), (inline ? falseLabel:  trueLabel), valueRequired);
                        return;
                }


Clone AbstractionParameter Count: 2Parameter Bindings

// optimized cases: true == x, false == x
if ( [[#variablea3565020]].constant != Constant.NotAConstant) {
  boolean inline = [[#variablea3565020]].constant.booleanValue();
   [[#variablea3565200]].generateOptimizedBoolean(currentScope, codeStream, (inline ? trueLabel: falseLabel), (inline ? falseLabel: trueLabel), valueRequired);
  return;
} // optimized cases: x == true, x == false
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3565020]]
right 
12[[#a3565020]]
left 
21[[#a3565200]]
left 
22[[#a3565200]]
right