Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.951 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 715 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java |
2 | 5 | 419 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMethodPage.java |
| ||||
for (int i = 0; i < elements.length; i++) { if (elements[i] instanceof IField) fields.add(elements[i]); } return (IField[]) fields.toArray(new IField[fields.size()]); |
| ||||
for (int i = 0; i < checked.length; i++) { if (checked[i] instanceof IMethod) members.add(checked[i]); } return (IMethod[]) members.toArray(new IMethod[members.size()]); |
| |||
for (int i = 0; i < [[#variable52dae1e0]].length; i++) { if ( [[#variable52dae1e0]][i] instanceof [[#variable531e6580]]) [[#variable52dae2c0]].add( [[#variable52dae1e0]][i]); } return ( [[#variable531e6580]][]) [[#variable52dae2c0]].toArray(new [[#variable531e6580]][ [[#variable52dae2c0]].size()]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52dae1e0]] | checked |
1 | 2 | [[#52dae1e0]] | elements |
2 | 1 | [[#531e6580]] | IMethod |
2 | 2 | [[#531e6580]] | IField |
3 | 1 | [[#52dae2c0]] | members |
3 | 2 | [[#52dae2c0]] | fields |