| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 4 | 0.955 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 230 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/MoveCuUpdateCreator.java |
| 2 | 4 | 447 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java |
| ||||
for (int i = 0; i < cus.length; i++) {
types.addAll(Arrays.asList(cus[i].getAllTypes()));
}
return (IType[]) types.toArray(new IType[types.size()]);
|
| ||||
for (int i = 0; i < constructors.length; i++) {
result.addAll(Arrays.asList(constructors[i].getParameterNames()));
}
return (String[]) result.toArray(new String[result.size()]);
|
| |||
for (int i = 0; i < [[#variable97213ae0]].length; i++) {
[[#variable97213a00]].addAll(Arrays.asList( [[#variable97213ae0]][i]. [[#variable97213a20]]()));
}
return ( [[#variable972139a0]][]) [[#variable97213a00]].toArray(new [[#variable972139a0]][ [[#variable97213a00]].size()]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#97213ae0]] | constructors |
| 1 | 2 | [[#97213ae0]] | cus |
| 2 | 1 | [[#97213a00]] | result |
| 2 | 2 | [[#97213a00]] | types |
| 3 | 1 | [[#97213a20]] | getParameterNames |
| 3 | 2 | [[#97213a20]] | getAllTypes |
| 4 | 1 | [[#972139a0]] | String |
| 4 | 2 | [[#972139a0]] | IType |