Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.957 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 182 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsContentProvider.java |
2 | 6 | 575 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java |
| ||||
private List reverse(List list) { List reverse = new ArrayList(list.size()); for (int index = list.size() - 1; index >= 0; index--) { reverse.add(list.get(index)); } return reverse; } |
| ||||
private List reverse(List p) { List reverse = new ArrayList(p.size()); for (int i = p.size() - 1; i >= 0; i--) { reverse.add(p.get(i)); } return reverse; } |
| |||
private List reverse(List [[#variable9d125720]]) { List reverse = new ArrayList( [[#variable9d125720]].size()); for (int [[#variable9d1256c0]]= [[#variable9d125720]].size() - 1; [[#variable9d1256c0]]>= 0; [[#variable9d1256c0]]--) { reverse.add( [[#variable9d125720]].get( [[#variable9d1256c0]])); } return reverse; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d125720]] | p |
1 | 2 | [[#9d125720]] | list |
2 | 1 | [[#9d1256c0]] | i |
2 | 2 | [[#9d1256c0]] | index |