CloneSet106


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8740.973statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18916
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
28927
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
38938
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
48949
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
58960
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
68971
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
78982
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
Clone Instance
1
Line Count
8
Source Line
916
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                                switch (rightId) {
                                        case T_char:    return IntConstant.fromValue(left.charValue() - right.charValue());
                                        case T_float:   return FloatConstant.fromValue(left.charValue() - right.floatValue());
                                        case T_double:  return DoubleConstant.fromValue(left.charValue() - right.doubleValue());
                                        case T_byte:    return IntConstant.fromValue(left.charValue() - right.byteValue());
                                        case T_short:   return IntConstant.fromValue(left.charValue() - right.shortValue());
                                        case T_int:             return IntConstant.fromValue(left.charValue() - right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.charValue() - right.longValue());
                                      }


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

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


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

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


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

                                switch (rightId) {
                                        case T_char:    return IntConstant.fromValue(left.byteValue() - right.charValue());
                                        case T_float:   return FloatConstant.fromValue(left.byteValue() - right.floatValue());
                                        case T_double:  return DoubleConstant.fromValue(left.byteValue() - right.doubleValue());
                                        case T_byte:    return IntConstant.fromValue(left.byteValue() - right.byteValue());
                                        case T_short:   return IntConstant.fromValue(left.byteValue() - right.shortValue());
                                        case T_int:             return IntConstant.fromValue(left.byteValue() - right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.byteValue() - right.longValue());
                                      }


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

                                switch (rightId) {
                                        case T_char:    return IntConstant.fromValue(left.shortValue() - right.charValue());
                                        case T_float:   return FloatConstant.fromValue(left.shortValue() - right.floatValue());
                                        case T_double:  return DoubleConstant.fromValue(left.shortValue() - right.doubleValue());
                                        case T_byte:    return IntConstant.fromValue(left.shortValue() - right.byteValue());
                                        case T_short:   return IntConstant.fromValue(left.shortValue() - right.shortValue());
                                        case T_int:             return IntConstant.fromValue(left.shortValue() - right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.shortValue() - right.longValue());
                                      }


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

                                switch (rightId) {
                                        case T_char:    return IntConstant.fromValue(left.intValue() - right.charValue());
                                        case T_float:   return FloatConstant.fromValue(left.intValue() - right.floatValue());
                                        case T_double:  return DoubleConstant.fromValue(left.intValue() - right.doubleValue());
                                        case T_byte:    return IntConstant.fromValue(left.intValue() - right.byteValue());
                                        case T_short:   return IntConstant.fromValue(left.intValue() - right.shortValue());
                                        case T_int:             return IntConstant.fromValue(left.intValue() - right.intValue());
                                        case T_long:    return LongConstant.fromValue(left.intValue() - right.longValue());
                                      }


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

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


Clone AbstractionParameter Count: 4Parameter Bindings

switch (rightId) {
  case T_char:
    return [[#variableb1a07580]].fromValue(left. [[#variablea3156760]]() - right.charValue());
  case T_float:
    return [[#variableb1a070a0]].fromValue(left. [[#variablea3156760]]() - right.floatValue());
  case T_double:
    return DoubleConstant.fromValue(left. [[#variablea3156760]]() - right.doubleValue());
  case T_byte:
    return [[#variableb1a07580]].fromValue(left. [[#variablea3156760]]() - right.byteValue());
  case T_short:
    return [[#variableb1a07580]].fromValue(left. [[#variablea3156760]]() - right.shortValue());
  case T_int:
    return [[#variableb1a07580]].fromValue(left. [[#variablea3156760]]() - right.intValue());
  case T_long:
    return [[#variableb1a07560]].fromValue(left. [[#variablea3156760]]() - right.longValue());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1a07580]]
IntConstant 
12[[#b1a07580]]
FloatConstant 
13[[#b1a07580]]
DoubleConstant 
14[[#b1a07580]]
IntConstant 
15[[#b1a07580]]
IntConstant 
16[[#b1a07580]]
IntConstant 
17[[#b1a07580]]
LongConstant 
21[[#a3156760]]
charValue 
22[[#a3156760]]
floatValue 
23[[#a3156760]]
doubleValue 
24[[#a3156760]]
byteValue 
25[[#a3156760]]
shortValue 
26[[#a3156760]]
intValue 
27[[#a3156760]]
longValue 
31[[#b1a070a0]]
FloatConstant 
32[[#b1a070a0]]
FloatConstant 
33[[#b1a070a0]]
DoubleConstant 
34[[#b1a070a0]]
FloatConstant 
35[[#b1a070a0]]
FloatConstant 
36[[#b1a070a0]]
FloatConstant 
37[[#b1a070a0]]
FloatConstant 
41[[#b1a07560]]
LongConstant 
42[[#b1a07560]]
FloatConstant 
43[[#b1a07560]]
DoubleConstant 
44[[#b1a07560]]
LongConstant 
45[[#b1a07560]]
LongConstant 
46[[#b1a07560]]
LongConstant 
47[[#b1a07560]]
LongConstant