Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.977 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 53 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ConstantPool.java |
2 | 5 | 64 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ConstantPool.java |
| ||||
int fieldNameIndex = u2At(this.classFileBytes, 1, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]); int fieldDescriptorIndex = u2At(this.classFileBytes, 3, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]); constantPoolEntry.setFieldName(getUtf8ValueAt(fieldNameIndex)); constantPoolEntry.setFieldDescriptor(getUtf8ValueAt(fieldDescriptorIndex)); break; |
| ||||
int methodNameIndex = u2At(this.classFileBytes, 1, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]); int methodDescriptorIndex = u2At(this.classFileBytes, 3, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]); constantPoolEntry.setMethodName(getUtf8ValueAt(methodNameIndex)); constantPoolEntry.setMethodDescriptor(getUtf8ValueAt(methodDescriptorIndex)); break; |
| |||
int [[#variableb26cea20]]= u2At(this.classFileBytes, 1, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]); int [[#variableb37bd9e0]]= u2At(this.classFileBytes, 3, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]); constantPoolEntry. [[#variableb26ce940]](getUtf8ValueAt( [[#variableb26cea20]])); constantPoolEntry. [[#variableb26ce9a0]](getUtf8ValueAt( [[#variableb37bd9e0]])); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b26cea20]] | fieldNameIndex |
1 | 2 | [[#b26cea20]] | methodNameIndex |
2 | 1 | [[#b37bd9e0]] | fieldDescriptorIndex |
2 | 2 | [[#b37bd9e0]] | methodDescriptorIndex |
3 | 1 | [[#b26ce940]] | setFieldName |
3 | 2 | [[#b26ce940]] | setMethodName |
4 | 1 | [[#b26ce9a0]] | setFieldDescriptor |
4 | 2 | [[#b26ce9a0]] | setMethodDescriptor |