| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 2 | 3 | 0.984 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 145 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java |
| 2 | 12 | 164 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java |
| ||||
for (int i = 0; i < currentLocalsLength && counter < currentNumberOfLocals; i++) {
if (currentLocals[i] != null) {
switch (currentLocals[i].id()) {
case TypeIds.T_double:
case TypeIds.T_long:
i++;
}
counter++;
}
else {
result = Integer.MAX_VALUE;
this.numberOfDifferentLocals = result;
return result;
}
}
|
| ||||
for (int i = 0; i < prevLocalsLength && counter < prevNumberOfLocals; i++) {
if (prevLocals[i] != null) {
switch (prevLocals[i].id()) {
case TypeIds.T_double:
case TypeIds.T_long:
i++;
}
counter++;
}
else {
result = Integer.MAX_VALUE;
this.numberOfDifferentLocals = result;
return result;
}
}
|
| |||
for (int i = 0; i < [[#variable5b66ad00]]&& counter < [[#variable5b66acc0]]; i++) {
if ( [[#variable5b66ace0]][i] != null) {
switch ( [[#variable5b66ace0]][i].id()) {
case TypeIds.T_double:
case TypeIds.T_long:
i++;
}
counter++;
}
else {
result = Integer.MAX_VALUE;
this.numberOfDifferentLocals = result;
return result;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5b66ad00]] | prevLocalsLength |
| 1 | 2 | [[#5b66ad00]] | currentLocalsLength |
| 2 | 1 | [[#5b66acc0]] | prevNumberOfLocals |
| 2 | 2 | [[#5b66acc0]] | currentNumberOfLocals |
| 3 | 1 | [[#5b66ace0]] | prevLocals |
| 3 | 2 | [[#5b66ace0]] | currentLocals |