CloneSet190


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
47460.979statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
147667
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
247775
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
345881
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
447987
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
Clone Instance
1
Line Count
47
Source Line
667
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java

        if (valueRequired) {
                if (falseLabel == null) {
                        if (trueLabel != null) {
                                // implicit falling through the FALSE case
                                switch (promotedTypeID) {
                                        case T_int:
                                                codeStream.if_icmpgt(trueLabel);
                                                break;
                                        case T_float:
                                                codeStream.fcmpl();
                                                codeStream.ifgt(trueLabel);
                                                break;
                                        case T_long:
                                                codeStream.lcmp();
                                                codeStream.ifgt(trueLabel);
                                                break;
                                        case T_double:
                                                codeStream.dcmpl();
                                                codeStream.ifgt(trueLabel);
                                      }
                                // reposition the endPC
                                codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
                                return;
                        }
                }
                else   {
                        if (trueLabel == null) {
                                // implicit falling through the TRUE case
                                switch (promotedTypeID) {
                                        case T_int:
                                                codeStream.if_icmple(falseLabel);
                                                break;
                                        case T_float:
                                                codeStream.fcmpl();
                                                codeStream.ifle(falseLabel);
                                                break;
                                        case T_long:
                                                codeStream.lcmp();
                                                codeStream.ifle(falseLabel);
                                                break;
                                        case T_double:
                                                codeStream.dcmpl();
                                                codeStream.ifle(falseLabel);
                                      }
                                // reposition the endPC
                                codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
                                return;
                        }
                        else   {
                                // no implicit fall through TRUE/FALSE --> should never occur
                        }
                }
        }


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

        if (valueRequired) {
                if (falseLabel == null) {
                        if (trueLabel != null) {
                                // implicit falling through the FALSE case
                                switch (promotedTypeID) {
                                        case T_int:
                                                codeStream.if_icmpge(trueLabel);
                                                break;
                                        case T_float:
                                                codeStream.fcmpl();
                                                codeStream.ifge(trueLabel);
                                                break;
                                        case T_long:
                                                codeStream.lcmp();
                                                codeStream.ifge(trueLabel);
                                                break;
                                        case T_double:
                                                codeStream.dcmpl();
                                                codeStream.ifge(trueLabel);
                                      }
                                // reposition the endPC
                                codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
                                return;
                        }
                }
                else   {
                        if (trueLabel == null) {
                                // implicit falling through the TRUE case
                                switch (promotedTypeID) {
                                        case T_int:
                                                codeStream.if_icmplt(falseLabel);
                                                break;
                                        case T_float:
                                                codeStream.fcmpl();
                                                codeStream.iflt(falseLabel);
                                                break;
                                        case T_long:
                                                codeStream.lcmp();
                                                codeStream.iflt(falseLabel);
                                                break;
                                        case T_double:
                                                codeStream.dcmpl();
                                                codeStream.iflt(falseLabel);
                                      }
                                // reposition the endPC
                                codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
                                return;
                        }
                        else   {
                                // no implicit fall through TRUE/FALSE --> should never occur
                        }
                }
        }


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

        if (valueRequired) {
                if (falseLabel == null) {
                        if (trueLabel != null) {
                                // implicit falling through the FALSE case
                                switch (promotedTypeID) {
                                        case T_int:
                                                codeStream.if_icmplt(trueLabel);
                                                break;
                                        case T_float:
                                                codeStream.fcmpg();
                                                codeStream.iflt(trueLabel);
                                                break;
                                        case T_long:
                                                codeStream.lcmp();
                                                codeStream.iflt(trueLabel);
                                                break;
                                        case T_double:
                                                codeStream.dcmpg();
                                                codeStream.iflt(trueLabel);
                                      }
                                codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
                                return;
                        }
                }
                else   {
                        if (trueLabel == null) {
                                // implicit falling through the TRUE case
                                switch (promotedTypeID) {
                                        case T_int:
                                                codeStream.if_icmpge(falseLabel);
                                                break;
                                        case T_float:
                                                codeStream.fcmpg();
                                                codeStream.ifge(falseLabel);
                                                break;
                                        case T_long:
                                                codeStream.lcmp();
                                                codeStream.ifge(falseLabel);
                                                break;
                                        case T_double:
                                                codeStream.dcmpg();
                                                codeStream.ifge(falseLabel);
                                      }
                                codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
                                return;
                        }
                        else   {
                                // no implicit fall through TRUE/FALSE --> should never occur
                        }
                }
        }


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

        if (valueRequired) {
                if (falseLabel == null) {
                        if (trueLabel != null) {
                                // implicit falling through the FALSE case
                                switch (promotedTypeID) {
                                        case T_int:
                                                codeStream.if_icmple(trueLabel);
                                                break;
                                        case T_float:
                                                codeStream.fcmpg();
                                                codeStream.ifle(trueLabel);
                                                break;
                                        case T_long:
                                                codeStream.lcmp();
                                                codeStream.ifle(trueLabel);
                                                break;
                                        case T_double:
                                                codeStream.dcmpg();
                                                codeStream.ifle(trueLabel);
                                      }
                                // reposition the endPC
                                codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
                                return;
                        }
                }
                else   {
                        if (trueLabel == null) {
                                // implicit falling through the TRUE case
                                switch (promotedTypeID) {
                                        case T_int:
                                                codeStream.if_icmpgt(falseLabel);
                                                break;
                                        case T_float:
                                                codeStream.fcmpg();
                                                codeStream.ifgt(falseLabel);
                                                break;
                                        case T_long:
                                                codeStream.lcmp();
                                                codeStream.ifgt(falseLabel);
                                                break;
                                        case T_double:
                                                codeStream.dcmpg();
                                                codeStream.ifgt(falseLabel);
                                      }
                                // reposition the endPC
                                codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
                                return;
                        }
                        else   {
                                // no implicit fall through TRUE/FALSE --> should never occur
                        }
                }
        }


Clone AbstractionParameter Count: 6Parameter Bindings

if (valueRequired) {
  if (falseLabel == null) {
    if (trueLabel != null) {
      // implicit falling through the FALSE case
      switch (promotedTypeID) {
        case T_int:
          codeStream. [[#variableb8256b80]](trueLabel);
          break;
        case T_float:
          codeStream. [[#variableb8256b00]]();
          codeStream. [[#variableb8256aa0]](trueLabel);
          break;
        case T_long:
          codeStream.lcmp();
          codeStream. [[#variableb8256aa0]](trueLabel);
          break;
        case T_double:
          codeStream. [[#variablebb974c60]]();
          codeStream. [[#variableb8256aa0]](trueLabel);
      }
      // reposition the endPC
      codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
      return;
    }
  }
  else {
    if (trueLabel == null) {
      // implicit falling through the TRUE case
      switch (promotedTypeID) {
        case T_int:
          codeStream. [[#variablebb974c00]](falseLabel);
          break;
        case T_float:
          codeStream. [[#variableb8256b00]]();
          codeStream. [[#variablebb974be0]](falseLabel);
          break;
        case T_long:
          codeStream.lcmp();
          codeStream. [[#variablebb974be0]](falseLabel);
          break;
        case T_double:
          codeStream. [[#variablebb974c60]]();
          codeStream. [[#variablebb974be0]](falseLabel);
      }
      // reposition the endPC
      codeStream.updateLastRecordedEndPC(currentScope, codeStream.position);
      return;
    }
    else {
    // no implicit fall through TRUE/FALSE --> should never occur
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b8256b80]]
if_icmpgt 
12[[#b8256b80]]
if_icmpge 
13[[#b8256b80]]
if_icmplt 
14[[#b8256b80]]
if_icmple 
21[[#b8256b00]]
fcmpl 
22[[#b8256b00]]
fcmpl 
23[[#b8256b00]]
fcmpg 
24[[#b8256b00]]
fcmpg 
31[[#b8256aa0]]
ifgt 
32[[#b8256aa0]]
ifge 
33[[#b8256aa0]]
iflt 
34[[#b8256aa0]]
ifle 
41[[#bb974c60]]
dcmpl 
42[[#bb974c60]]
dcmpl 
43[[#bb974c60]]
dcmpg 
44[[#bb974c60]]
dcmpg 
51[[#bb974c00]]
if_icmple 
52[[#bb974c00]]
if_icmplt 
53[[#bb974c00]]
if_icmpge 
54[[#bb974c00]]
if_icmpgt 
61[[#bb974be0]]
ifle 
62[[#bb974be0]]
iflt 
63[[#bb974be0]]
ifge 
64[[#bb974be0]]
ifgt