CloneSet1264


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5340.980class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15526
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java
24532
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java
34609
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java
Clone Instance
1
Line Count
5
Source Line
526
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java

        private char[] extractClassName(int[] constantPoolOffsets, ClassFileReader reader, int index) {
                // the entry at i has to be a field ref or a method/interface method ref.
                int class_index = reader.u2At(constantPoolOffsets[index] + 1);
                int utf8Offset = constantPoolOffsets[reader.u2At(constantPoolOffsets[class_index] + 1)];
                return reader.utf8At(utf8Offset + 3, reader.u2At(utf8Offset + 1));
        }


Clone Instance
2
Line Count
4
Source Line
532
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java

        private char[] extractName(int[] constantPoolOffsets, ClassFileReader reader, int index) {
                int nameAndTypeIndex = reader.u2At(constantPoolOffsets[index] + 3);
                int utf8Offset = constantPoolOffsets[reader.u2At(constantPoolOffsets[nameAndTypeIndex] + 1)];
                return reader.utf8At(utf8Offset + 3, reader.u2At(utf8Offset + 1));
        }


Clone Instance
3
Line Count
4
Source Line
609
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java

        private char[] extractType(int[] constantPoolOffsets, ClassFileReader reader, int index) {
                int constantPoolIndex = reader.u2At(constantPoolOffsets[index] + 3);
                int utf8Offset = constantPoolOffsets[reader.u2At(constantPoolOffsets[constantPoolIndex] + 3)];
                return reader.utf8At(utf8Offset + 3, reader.u2At(utf8Offset + 1));
        }


Clone AbstractionParameter Count: 4Parameter Bindings

private char[]  [[#variableba8acd80]](int[] constantPoolOffsets, ClassFileReader reader, int index) {
  // the entry at i has to be a field ref or a method/interface method ref.
  int  [[#variableba8acd20]]= reader.u2At(constantPoolOffsets[index] +  [[#variableba8accc0]]);
  int utf8Offset = constantPoolOffsets[reader.u2At(constantPoolOffsets[ [[#variableba8acd20]]] +  [[#variableba8acc40]])];
  return reader.utf8At(utf8Offset + 3, reader.u2At(utf8Offset + 1));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba8acd80]]
extractClassName 
12[[#ba8acd80]]
extractName 
13[[#ba8acd80]]
extractType 
21[[#ba8acd20]]
class_index 
22[[#ba8acd20]]
nameAndTypeIndex 
23[[#ba8acd20]]
constantPoolIndex 
31[[#ba8accc0]]
1 
32[[#ba8accc0]]
3 
33[[#ba8accc0]]
3 
41[[#ba8acc40]]
1 
42[[#ba8acc40]]
1 
43[[#ba8acc40]]
3