CloneSet99


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8710.986statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18832
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
28843
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
38854
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
48865
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
58876
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
68887
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
78898
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
Clone Instance
1
Line Count
8
Source Line
832
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.charValue() <= right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.charValue() <= right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.charValue() <= right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.charValue() <= right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.charValue() <= right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.charValue() <= right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.charValue() <= right.longValue());
                                      }


Clone Instance
2
Line Count
8
Source Line
843
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.floatValue() <= right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.floatValue() <= right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.floatValue() <= right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.floatValue() <= right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.floatValue() <= right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.floatValue() <= right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.floatValue() <= right.longValue());
                                      }


Clone Instance
3
Line Count
8
Source Line
854
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.doubleValue() <= right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.doubleValue() <= right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.doubleValue() <= right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.doubleValue() <= right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.doubleValue() <= right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.doubleValue() <= right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.doubleValue() <= right.longValue());
                                      }


Clone Instance
4
Line Count
8
Source Line
865
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.byteValue() <= right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.byteValue() <= right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.byteValue() <= right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.byteValue() <= right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.byteValue() <= right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.byteValue() <= right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.byteValue() <= right.longValue());
                                      }


Clone Instance
5
Line Count
8
Source Line
876
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.shortValue() <= right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.shortValue() <= right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.shortValue() <= right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.shortValue() <= right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.shortValue() <= right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.shortValue() <= right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.shortValue() <= right.longValue());
                                      }


Clone Instance
6
Line Count
8
Source Line
887
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.intValue() <= right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.intValue() <= right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.intValue() <= right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.intValue() <= right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.intValue() <= right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.intValue() <= right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.intValue() <= right.longValue());
                                      }


Clone Instance
7
Line Count
8
Source Line
898
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.longValue() <= right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.longValue() <= right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.longValue() <= right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.longValue() <= right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.longValue() <= right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.longValue() <= right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.longValue() <= right.longValue());
                                      }


Clone AbstractionParameter Count: 1Parameter Bindings

switch (rightId) {
  case T_char:
    return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.charValue());
  case T_float:
    return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.floatValue());
  case T_double:
    return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.doubleValue());
  case T_byte:
    return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.byteValue());
  case T_short:
    return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.shortValue());
  case T_int:
    return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.intValue());
  case T_long:
    return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.longValue());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bada16e0]]
charValue 
12[[#bada16e0]]
floatValue 
13[[#bada16e0]]
doubleValue 
14[[#bada16e0]]
byteValue 
15[[#bada16e0]]
shortValue 
16[[#bada16e0]]
intValue 
17[[#bada16e0]]
longValue