CloneSet495


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19410.997statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119435
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
219458
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
319481
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
419504
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
Clone Instance
1
Line Count
19
Source Line
435
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java

                        generateOptimizedGreaterThan(
                                currentScope, 
                                codeStream, 
                                null, 
                                (falseLabel = new BranchLabel(codeStream)), 
                                valueRequired       );
                        if (valueRequired) {
                                codeStream.iconst_1();
                                if ((this.bits&  ASTNode.IsReturnedValue) != 0) {
                                        codeStream.generateImplicitConversion(this.implicitConversion);
                                        codeStream.generateReturnBytecode(this );
                                        falseLabel.place();
                                        codeStream.iconst_0();
                                }
                                else   {
                                        codeStream.goto_(endLabel = new BranchLabel(codeStream));
                                        codeStream.decrStackSize(1);
                                        falseLabel.place();
                                        codeStream.iconst_0();
                                        endLabel.place();
                                }
                        }


Clone Instance
2
Line Count
19
Source Line
458
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java

                        generateOptimizedGreaterThanOrEqual(
                                currentScope, 
                                codeStream, 
                                null, 
                                (falseLabel = new BranchLabel(codeStream)), 
                                valueRequired              );
                        if (valueRequired) {
                                codeStream.iconst_1();
                                if ((this.bits&  ASTNode.IsReturnedValue) != 0) {
                                        codeStream.generateImplicitConversion(this.implicitConversion);
                                        codeStream.generateReturnBytecode(this );
                                        falseLabel.place();
                                        codeStream.iconst_0();
                                }
                                else   {
                                        codeStream.goto_(endLabel = new BranchLabel(codeStream));
                                        codeStream.decrStackSize(1);
                                        falseLabel.place();
                                        codeStream.iconst_0();
                                        endLabel.place();
                                }
                        }


Clone Instance
3
Line Count
19
Source Line
481
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java

                        generateOptimizedLessThan(
                                currentScope, 
                                codeStream, 
                                null, 
                                (falseLabel = new BranchLabel(codeStream)), 
                                valueRequired    );
                        if (valueRequired) {
                                codeStream.iconst_1();
                                if ((this.bits&  ASTNode.IsReturnedValue) != 0) {
                                        codeStream.generateImplicitConversion(this.implicitConversion);
                                        codeStream.generateReturnBytecode(this );
                                        falseLabel.place();
                                        codeStream.iconst_0();
                                }
                                else   {
                                        codeStream.goto_(endLabel = new BranchLabel(codeStream));
                                        codeStream.decrStackSize(1);
                                        falseLabel.place();
                                        codeStream.iconst_0();
                                        endLabel.place();
                                }
                        }


Clone Instance
4
Line Count
19
Source Line
504
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java

                        generateOptimizedLessThanOrEqual(
                                currentScope, 
                                codeStream, 
                                null, 
                                (falseLabel = new BranchLabel(codeStream)), 
                                valueRequired           );
                        if (valueRequired) {
                                codeStream.iconst_1();
                                if ((this.bits&  ASTNode.IsReturnedValue) != 0) {
                                        codeStream.generateImplicitConversion(this.implicitConversion);
                                        codeStream.generateReturnBytecode(this );
                                        falseLabel.place();
                                        codeStream.iconst_0();
                                }
                                else   {
                                        codeStream.goto_(endLabel = new BranchLabel(codeStream));
                                        codeStream.decrStackSize(1);
                                        falseLabel.place();
                                        codeStream.iconst_0();
                                        endLabel.place();
                                }
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variable528b8f40]](currentScope, codeStream, null, (falseLabel = new BranchLabel(codeStream)), valueRequired);
if (valueRequired) {
  codeStream.iconst_1();
  if ((this.bits&ASTNode.IsReturnedValue) != 0) {
    codeStream.generateImplicitConversion(this.implicitConversion);
    codeStream.generateReturnBytecode(this );
    falseLabel.place();
    codeStream.iconst_0();
  }
  else {
    codeStream.goto_(endLabel = new BranchLabel(codeStream));
    codeStream.decrStackSize(1);
    falseLabel.place();
    codeStream.iconst_0();
    endLabel.place();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#528b8f40]]
generateOptimizedLessThanOrEqual 
12[[#528b8f40]]
generateOptimizedLessThan 
13[[#528b8f40]]
generateOptimizedGreaterThanOrEqual 
14[[#528b8f40]]
generateOptimizedGreaterThan