Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.987 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 195 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ClassFileReader.java |
2 | 8 | 221 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ClassFileReader.java |
| ||||
{ for (int i = 0; i < this.fieldsCount; i++) { int attributeCountForField = u2At(classFileBytes, 6, readOffset); readOffset += 8; if (attributeCountForField != 0) { for (int j = 0; j < attributeCountForField; j++) { int attributeLength = (int) u4At(classFileBytes, 2, readOffset); readOffset += (6 + attributeLength); } } } } |
| ||||
{ for (int i = 0; i < this.methodsCount; i++) { int attributeCountForMethod = u2At(classFileBytes, 6, readOffset); readOffset += 8; if (attributeCountForMethod != 0) { for (int j = 0; j < attributeCountForMethod; j++) { int attributeLength = (int) u4At(classFileBytes, 2, readOffset); readOffset += (6 + attributeLength); } } } } |
| |||
{ for (int i = 0; i < this. [[#variable57a23e40]]; i++) { int [[#variable57a23d60]]= u2At(classFileBytes, 6, readOffset); readOffset += 8; if ( [[#variable57a23d60]]!= 0) { for (int j = 0; j < [[#variable57a23d60]]; j++) { int attributeLength = (int) u4At(classFileBytes, 2, readOffset); readOffset += (6 + attributeLength); } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57a23e40]] | fieldsCount |
1 | 2 | [[#57a23e40]] | methodsCount |
2 | 1 | [[#57a23d60]] | attributeCountForField |
2 | 2 | [[#57a23d60]] | attributeCountForMethod |