| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 6 | 0.965 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 1980 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java |
| 2 | 7 | 2072 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java |
| ||||
private void printTrFramesCommand(DataInputStream in) throws IOException, UnableToParseDataException {
long threadId = readObjectID(in);
int startFrame = in.readInt();
int length = in.readInt();
printlnObjectId(TcpIpSpyMessages.VerbosePacketStream_Thread_id__48, threadId);
println(TcpIpSpyMessages.VerbosePacketStream_First_frame__192, startFrame);
println(TcpIpSpyMessages.VerbosePacketStream_Number_of_frame__193, length);
}
|
| ||||
private void printArGetValuesCommand(DataInputStream in) throws IOException, UnableToParseDataException {
long arrayObjectId = readObjectID(in);
int firstIndex = in.readInt();
int length = in.readInt();
printlnObjectId(TcpIpSpyMessages.VerbosePacketStream_Array_object_id__210, arrayObjectId);
println(TcpIpSpyMessages.VerbosePacketStream_First_index__213, firstIndex);
println(TcpIpSpyMessages.VerbosePacketStream_Length__214, length);
}
|
| |||
private void [[#variable9efac5c0]](DataInputStream in) throws IOException, UnableToParseDataException {
long [[#variable9efac540]]= readObjectID(in);
int [[#variable9efac4e0]]= in.readInt();
int length = in.readInt();
printlnObjectId(TcpIpSpyMessages. [[#variable9efac440]], [[#variable9efac540]]);
println(TcpIpSpyMessages. [[#variable9efac3c0]], [[#variable9efac4e0]]);
println(TcpIpSpyMessages. [[#variable9efac340]], length);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9efac5c0]] | printTrFramesCommand |
| 1 | 2 | [[#9efac5c0]] | printArGetValuesCommand |
| 2 | 1 | [[#9efac540]] | threadId |
| 2 | 2 | [[#9efac540]] | arrayObjectId |
| 3 | 1 | [[#9efac4e0]] | startFrame |
| 3 | 2 | [[#9efac4e0]] | firstIndex |
| 4 | 1 | [[#9efac440]] | VerbosePacketStream_Thread_id__48 |
| 4 | 2 | [[#9efac440]] | VerbosePacketStream_Array_object_id__210 |
| 5 | 1 | [[#9efac3c0]] | VerbosePacketStream_First_frame__192 |
| 5 | 2 | [[#9efac3c0]] | VerbosePacketStream_First_index__213 |
| 6 | 1 | [[#9efac340]] | VerbosePacketStream_Number_of_frame__193 |
| 6 | 2 | [[#9efac340]] | VerbosePacketStream_Length__214 |