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.989 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 32 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/SimpleWordSet.java |
2 | 6 | 47 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/SimpleWordSet.java |
| ||||
int length = this.words.length; int index = CharOperation.hashCode(word) % length; char[] current; while ((current = words[index]) != null) { if (CharOperation.equals(current, word)) return current; if ( ++index == length)index = 0; } |
| ||||
int length = this.words.length; int index = CharOperation.hashCode(word) % length; char[] current; while ((current = words[index]) != null) { if (CharOperation.equals(current, word)) return true; if ( ++index == length)index = 0; } |
| |||
int length = this.words.length; int index = CharOperation.hashCode(word) % length; char[] current; while ((current = words[index]) != null) { if (CharOperation.equals(current, word)) return [[#variable5076d2a0]]; if ( ++index == length) index = 0; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5076d2a0]] | true |
1 | 2 | [[#5076d2a0]] | current |