CloneSet1878


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8260.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181622
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java
281877
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java
Clone Instance
1
Line Count
8
Source Line
1622
Source File
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);
                }
        }


Clone Instance
2
Line Count
8
Source Line
1877
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java

        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);
                }
        }


Clone AbstractionParameter Count: 6Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57b145e0]]
printRtGetValuesCommand 
12[[#57b145e0]]
printOrGetValuesCommand 
21[[#57b14560]]
typeId 
22[[#57b14560]]
objectId 
31[[#57b144c0]]
readReferenceTypeID 
32[[#57b144c0]]
readObjectID 
41[[#591ebdc0]]
printlnReferenceTypeId 
42[[#591ebdc0]]
println 
51[[#57b14360]]
VerbosePacketStream_Type_id__43 
52[[#57b14360]]
VerbosePacketStream_Object_id__72 
61[[#57b143e0]]
printlnFieldId 
62[[#57b143e0]]
println