Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.951 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 56 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CharArrayCache.java |
2 | 6 | 73 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CharArrayCache.java |
| ||||
int index = hashCodeChar(key), length = this.keyTable.length; while (this.keyTable[index] != null) { if (CharOperation.equals(this.keyTable[index], key)) return true; if ( ++index == length) { // faster than modulo index = 0; } } |
| ||||
int index = hashCodeChar(key), length = this.keyTable.length; while (this.keyTable[index] != null) { if (CharOperation.equals(this.keyTable[index], key)) return this.valueTable[index]; if ( ++index == length) { // faster than modulo index = 0; } } |
| |||
int index = hashCodeChar(key), length = this.keyTable.length; while (this.keyTable[index] != null) { if (CharOperation.equals(this.keyTable[index], key)) return [[#variablea0836d40]]; if ( ++index == length) { // faster than modulo index = 0; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0836d40]] | true |
1 | 2 | [[#a0836d40]] | this.valueTable[index] |