CloneSet2017


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4340.962statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1462
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Annotation.java
24125
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/AnnotationComponentValue.java
3447
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ParameterAnnotation.java
Clone Instance
1
Line Count
4
Source Line
62
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Annotation.java

                        for (int i = 0; i < length; i++) {
                                AnnotationComponent component = new AnnotationComponent(classFileBytes, constantPool, offset + readOffset);
                                this.components[i] = component;
                                this.readOffset += component.sizeInBytes();
                        }


Clone Instance
2
Line Count
4
Source Line
125
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/AnnotationComponentValue.java

                                        for (int i = 0; i < numberOfValues; i++) {
                                                AnnotationComponentValue value = new AnnotationComponentValue(classFileBytes, constantPool, offset + readOffset);
                                                this.annotationComponentValues[i] = value;
                                                this.readOffset += value.sizeInBytes();
                                        }


Clone Instance
3
Line Count
4
Source Line
47
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ParameterAnnotation.java

                        for (int i = 0; i < length; i++) {
                                Annotation annotation = new Annotation(classFileBytes, constantPool, offset + readOffset);
                                this.annotations[i] = annotation;
                                this.readOffset += annotation.sizeInBytes();
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variableb4f6f820]]; i++) {
   [[#variableb4f6f780]]  [[#variableb4f6f6e0]]= new [[#variableb4f6f780]](classFileBytes, constantPool, offset + readOffset);
  this. [[#variableb4f6f680]][i] = [[#variableb4f6f6e0]];
  this.readOffset += [[#variableb4f6f6e0]].sizeInBytes();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4f6f820]]
length 
12[[#b4f6f820]]
numberOfValues 
13[[#b4f6f820]]
length 
21[[#b4f6f780]]
Annotation 
22[[#b4f6f780]]
AnnotationComponentValue 
23[[#b4f6f780]]
AnnotationComponent 
31[[#b4f6f6e0]]
annotation 
32[[#b4f6f6e0]]
value 
33[[#b4f6f6e0]]
component 
41[[#b4f6f680]]
annotations 
42[[#b4f6f680]]
annotationComponentValues 
43[[#b4f6f680]]
components