Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 3 | 0.960 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 219 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/LibraryContentProvider.java |
2 | 3 | 74 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/VisibilityControlUtil.java |
3 | 3 | 442 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java |
| ||||
List toAdd = new ArrayList(libs.length); for (int i = 0; i < libs.length; i++) { toAdd.add(new LibraryStandin(libs[i])); } |
| ||||
List result = new ArrayList(array.length); for (int i = 0; i < array.length; i++) { result.add(new Integer(array[i])); } |
| ||||
List result = new ArrayList(array.length); for (int i = 0; i < array.length; i++) { result.add(new Integer(array[i])); } |
| |||
List [[#variableb44dba00]]= new ArrayList( [[#variableb44daaa0]].length); for (int i = 0; i < [[#variableb44daaa0]].length; i++) { [[#variableb44dba00]].add(new [[#variableb44daae0]]( [[#variableb44daaa0]][i])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b44dba00]] | result |
1 | 2 | [[#b44dba00]] | toAdd |
1 | 3 | [[#b44dba00]] | result |
2 | 1 | [[#b44daaa0]] | array |
2 | 2 | [[#b44daaa0]] | libs |
2 | 3 | [[#b44daaa0]] | array |
3 | 1 | [[#b44daae0]] | Integer |
3 | 2 | [[#b44daae0]] | LibraryStandin |
3 | 3 | [[#b44daae0]] | Integer |