| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 22 | 2 | 1 | 0.989 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 22 | 83 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/VerificationTypeInfo.java |
| 2 | 22 | 112 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/VerificationTypeInfo.java |
| ||||
switch (binding.id) {
case TypeIds.T_boolean:
case TypeIds.T_byte:
case TypeIds.T_char:
case TypeIds.T_int:
case TypeIds.T_short:
this.tag = VerificationTypeInfo.ITEM_INTEGER;
break;
case TypeIds.T_float:
this.tag = VerificationTypeInfo.ITEM_FLOAT;
break;
case TypeIds.T_long:
this.tag = VerificationTypeInfo.ITEM_LONG;
break;
case TypeIds.T_double:
this.tag = VerificationTypeInfo.ITEM_DOUBLE;
break;
case TypeIds.T_null:
this.tag = VerificationTypeInfo.ITEM_NULL;
break;
default:
this.tag = VerificationTypeInfo.ITEM_OBJECT;
}
|
| ||||
switch (typeBindingId) {
case TypeIds.T_boolean:
case TypeIds.T_byte:
case TypeIds.T_char:
case TypeIds.T_int:
case TypeIds.T_short:
this.tag = VerificationTypeInfo.ITEM_INTEGER;
break;
case TypeIds.T_float:
this.tag = VerificationTypeInfo.ITEM_FLOAT;
break;
case TypeIds.T_long:
this.tag = VerificationTypeInfo.ITEM_LONG;
break;
case TypeIds.T_double:
this.tag = VerificationTypeInfo.ITEM_DOUBLE;
break;
case TypeIds.T_null:
this.tag = VerificationTypeInfo.ITEM_NULL;
break;
default:
this.tag = VerificationTypeInfo.ITEM_OBJECT;
}
|
| |||
switch ( [[#variable9943c460]]) {
case TypeIds.T_boolean:
case TypeIds.T_byte:
case TypeIds.T_char:
case TypeIds.T_int:
case TypeIds.T_short:
this.tag = VerificationTypeInfo.ITEM_INTEGER;
break;
case TypeIds.T_float:
this.tag = VerificationTypeInfo.ITEM_FLOAT;
break;
case TypeIds.T_long:
this.tag = VerificationTypeInfo.ITEM_LONG;
break;
case TypeIds.T_double:
this.tag = VerificationTypeInfo.ITEM_DOUBLE;
break;
case TypeIds.T_null:
this.tag = VerificationTypeInfo.ITEM_NULL;
break;
default:
this.tag = VerificationTypeInfo.ITEM_OBJECT;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9943c460]] | binding.id |
| 1 | 2 | [[#9943c460]] | typeBindingId |