CloneSet2177


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.973class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181646
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java
282100
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java
Clone Instance
1
Line Count
8
Source Line
1646
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/spy/VerbosePacketStream.java

        private void printRtNestedTypesReply(DataInputStream in) throws IOException, UnableToParseDataException {
                int typesCount = in.readInt();
                println(TcpIpSpyMessages.VerbosePacketStream_Types_count__99, typesCount);
                for (int i = 0; i < typesCount; i++) {
                        byte typeTag = in.readByte();
                        long typeId = readReferenceTypeID(in);
                        printRefTypeTag(typeTag);
                        printlnReferenceTypeId(TcpIpSpyMessages.VerbosePacketStream_Type_id__43, typeId);
                }
        }


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

        private void printClrVisibleClassesReply(DataInputStream in) throws IOException, UnableToParseDataException {
                int classesCount = in.readInt();
                println(TcpIpSpyMessages.VerbosePacketStream_Classes_count__42, classesCount);
                for (int i = 0; i < classesCount; i++) {
                        byte refTypeTag = in.readByte();
                        long typeId = readReferenceTypeID(in);
                        printRefTypeTag(refTypeTag);
                        printlnReferenceTypeId(TcpIpSpyMessages.VerbosePacketStream_Type_id__43, typeId);
                }
        }


Clone AbstractionParameter Count: 4Parameter Bindings

private void [[#variableb0b54340]](DataInputStream in) throws IOException, UnableToParseDataException {
  int  [[#variableb0b542c0]]= in.readInt();
  println(TcpIpSpyMessages. [[#variableb0b54220]],  [[#variableb0b542c0]]);
  for (int i = 0; i <  [[#variableb0b542c0]]; i++) {
    byte  [[#variableb0b54140]]= in.readByte();
    long typeId = readReferenceTypeID(in);
    printRefTypeTag( [[#variableb0b54140]]);
    printlnReferenceTypeId(TcpIpSpyMessages.VerbosePacketStream_Type_id__43, typeId);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b0b54340]]
printRtNestedTypesReply 
12[[#b0b54340]]
printClrVisibleClassesReply 
21[[#b0b542c0]]
typesCount 
22[[#b0b542c0]]
classesCount 
31[[#b0b54220]]
VerbosePacketStream_Types_count__99 
32[[#b0b54220]]
VerbosePacketStream_Classes_count__42 
41[[#b0b54140]]
typeTag 
42[[#b0b54140]]
refTypeTag