Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.966 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 369 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java |
2 | 7 | 380 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java |
| ||||
{ Set result = new HashSet(resources.length); for (int i = 0; i < resources.length; i++) { if (isOfType(resources[i], typeMask)) result.add(resources[i]); } return result; } |
| ||||
{ List result = new ArrayList(javaElements.length); for (int i = 0; i < javaElements.length; i++) { if (isOfType(javaElements[i], type)) result.add(javaElements[i]); } return result; } |
| |||
{ [[#variable5b519400]] result = new [[#variable5b5192c0]]( [[#variable5b519220]].length); for (int i = 0; i < [[#variable5b519220]].length; i++) { if (isOfType( [[#variable5b519220]][i], [[#variable5b519360]])) result.add( [[#variable5b519220]][i]); } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b519400]] | List |
1 | 2 | [[#5b519400]] | Set |
2 | 1 | [[#5b5192c0]] | ArrayList |
2 | 2 | [[#5b5192c0]] | HashSet |
3 | 1 | [[#5b519220]] | javaElements |
3 | 2 | [[#5b519220]] | resources |
4 | 1 | [[#5b519360]] | type |
4 | 2 | [[#5b519360]] | typeMask |