| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.974 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 118 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpID.java |
| 2 | 3 | 2446 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java |
| ||||
for (int i = 0; i < size; i++) {
int b = inStream.readUnsignedByte(); // Note that the byte must be treated as unsigned.
fValue = fValue << 8| b;
}
|
| ||||
for (int i = 0; i < size; i++) {
int b = in.readUnsignedByte(); // Note that the byte must be treated as unsigned.
id = id << 8| b;
}
|
| |||
for (int i = 0; i < size; i++) {
int b = [[#variable5ff5bec0]].readUnsignedByte(); // Note that the byte must be treated as unsigned.
[[#variable5ff5be60]]= [[#variable5ff5be60]] << 8|b;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5ff5bec0]] | inStream |
| 1 | 2 | [[#5ff5bec0]] | in |
| 2 | 1 | [[#5ff5be60]] | fValue |
| 2 | 2 | [[#5ff5be60]] | id |