Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 4 | 0.962 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 62 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Annotation.java |
2 | 4 | 125 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/AnnotationComponentValue.java |
3 | 4 | 47 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ParameterAnnotation.java |
| ||||
for (int i = 0; i < length; i++) { AnnotationComponent component = new AnnotationComponent(classFileBytes, constantPool, offset + readOffset); this.components[i] = component; this.readOffset += component.sizeInBytes(); } |
| ||||
for (int i = 0; i < numberOfValues; i++) { AnnotationComponentValue value = new AnnotationComponentValue(classFileBytes, constantPool, offset + readOffset); this.annotationComponentValues[i] = value; this.readOffset += value.sizeInBytes(); } |
| ||||
for (int i = 0; i < length; i++) { Annotation annotation = new Annotation(classFileBytes, constantPool, offset + readOffset); this.annotations[i] = annotation; this.readOffset += annotation.sizeInBytes(); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4f6f820]] | length |
1 | 2 | [[#b4f6f820]] | numberOfValues |
1 | 3 | [[#b4f6f820]] | length |
2 | 1 | [[#b4f6f780]] | Annotation |
2 | 2 | [[#b4f6f780]] | AnnotationComponentValue |
2 | 3 | [[#b4f6f780]] | AnnotationComponent |
3 | 1 | [[#b4f6f6e0]] | annotation |
3 | 2 | [[#b4f6f6e0]] | value |
3 | 3 | [[#b4f6f6e0]] | component |
4 | 1 | [[#b4f6f680]] | annotations |
4 | 2 | [[#b4f6f680]] | annotationComponentValues |
4 | 3 | [[#b4f6f680]] | components |