Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.954 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2657 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java |
2 | 6 | 115 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/Member.java |
| ||||
if (size == 0) { return NO_PREREQUISITES; } else { String[] result = new String[size]; prerequisites.toArray(result); return result; } |
| ||||
if (size == 0) { return null; } else { IMethod[] result = new IMethod[size]; list.toArray(result); return result; } |
| |||
if (size == 0) { return [[#variable78b27a40]]; } else { [[#variable78b279e0]][] result = new [[#variable78b279e0]][size]; [[#variable78b27a20]].toArray(result); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#78b27a40]] | null |
1 | 2 | [[#78b27a40]] | NO_PREREQUISITES |
2 | 1 | [[#78b279e0]] | IMethod |
2 | 2 | [[#78b279e0]] | String |
3 | 1 | [[#78b27a20]] | list |
3 | 2 | [[#78b27a20]] | prerequisites |