Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 5 | 3 | 0.959 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 3095 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 1 | 859 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java |
3 | 1 | 76 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/LineCommentEndOffsets.java |
4 | 1 | 704 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceMapper.java |
5 | 1 | 710 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceMapper.java |
| ||||
System.arraycopy(possibleTag, 0, completion, 1, tagLength); |
| ||||
System.arraycopy(array, 0, result, 1, length); |
| ||||
// shift from the beginning and insert -1 (smallest number) at the beginning // 1, 2, 3, x, 4, 5 -> -1, 1, 2, 3, 4, 5 System.arraycopy(offsetArray, 0, offsetArray, 1, index); |
| ||||
System.arraycopy(parameterTypes, 0, newParameterTypes, 1, length); |
| ||||
System.arraycopy(parameterTypes, 0, newParameterTypes, 1, length); |
| |||
// shift from the beginning and insert -1 (smallest number) at the beginning // 1, 2, 3, x, 4, 5 -> -1, 1, 2, 3, 4, 5 System.arraycopy( [[#variable5b4c6f40]], 0, [[#variable5b4c6ec0]], 1, [[#variablea3584dc0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b4c6f40]] | parameterTypes |
1 | 2 | [[#5b4c6f40]] | possibleTag |
1 | 3 | [[#5b4c6f40]] | offsetArray |
1 | 4 | [[#5b4c6f40]] | array |
1 | 5 | [[#5b4c6f40]] | parameterTypes |
2 | 1 | [[#5b4c6ec0]] | newParameterTypes |
2 | 2 | [[#5b4c6ec0]] | completion |
2 | 3 | [[#5b4c6ec0]] | offsetArray |
2 | 4 | [[#5b4c6ec0]] | result |
2 | 5 | [[#5b4c6ec0]] | newParameterTypes |
3 | 1 | [[#a3584dc0]] | length |
3 | 2 | [[#a3584dc0]] | tagLength |
3 | 3 | [[#a3584dc0]] | index |
3 | 4 | [[#a3584dc0]] | length |
3 | 5 | [[#a3584dc0]] | length |