Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 6 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1622 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java |
2 | 8 | 1877 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java |
| ||||
private void printRtGetValuesCommand(DataInputStream in) throws IOException, UnableToParseDataException { long typeId = readReferenceTypeID(in); int fieldsCount = in.readInt(); printlnReferenceTypeId(TcpIpSpyMessages.VerbosePacketStream_Type_id__43, typeId); println(TcpIpSpyMessages.VerbosePacketStream_Fields_count__108, fieldsCount); for (int i = 0; i < fieldsCount; i++) { long fieldId = readFieldID(in); printlnFieldId(TcpIpSpyMessages.VerbosePacketStream_Field_id__109, fieldId); } } |
| ||||
private void printOrGetValuesCommand(DataInputStream in) throws IOException, UnableToParseDataException { long objectId = readObjectID(in); int fieldsCount = in.readInt(); println(TcpIpSpyMessages.VerbosePacketStream_Object_id__72, objectId); println(TcpIpSpyMessages.VerbosePacketStream_Fields_count__108, fieldsCount); for (int i = 0; i < fieldsCount; i++) { long fieldId = readFieldID(in); println(TcpIpSpyMessages.VerbosePacketStream_Field_id__109, fieldId); } } |
| |||
private void [[#variable57b145e0]](DataInputStream in) throws IOException, UnableToParseDataException { long [[#variable57b14560]]= [[#variable57b144c0]](in); int fieldsCount = in.readInt(); [[#variable591ebdc0]](TcpIpSpyMessages. [[#variable57b14360]], [[#variable57b14560]]); println(TcpIpSpyMessages.VerbosePacketStream_Fields_count__108, fieldsCount); for (int i = 0; i < fieldsCount; i++) { long fieldId = readFieldID(in); [[#variable57b143e0]](TcpIpSpyMessages.VerbosePacketStream_Field_id__109, fieldId); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57b145e0]] | printRtGetValuesCommand |
1 | 2 | [[#57b145e0]] | printOrGetValuesCommand |
2 | 1 | [[#57b14560]] | typeId |
2 | 2 | [[#57b14560]] | objectId |
3 | 1 | [[#57b144c0]] | readReferenceTypeID |
3 | 2 | [[#57b144c0]] | readObjectID |
4 | 1 | [[#591ebdc0]] | printlnReferenceTypeId |
4 | 2 | [[#591ebdc0]] | println |
5 | 1 | [[#57b14360]] | VerbosePacketStream_Type_id__43 |
5 | 2 | [[#57b14360]] | VerbosePacketStream_Object_id__72 |
6 | 1 | [[#57b143e0]] | printlnFieldId |
6 | 2 | [[#57b143e0]] | println |