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.959 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 640 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java |
2 | 4 | 214 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java |
| ||||
{ TemplateVariable curr = positions[i]; if (variable.equals(curr.getType())) { return curr; } } |
| ||||
{ TypeInfo curr = results[i]; if (containerName.equals(curr.getTypeContainerName())) { return curr; } } |
| |||
{ [[#variable5913b600]] curr = [[#variable5913b5a0]][i]; if ( [[#variable5913b520]].equals(curr. [[#variable5913b480]]())) { return curr; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5913b600]] | TypeInfo |
1 | 2 | [[#5913b600]] | TemplateVariable |
2 | 1 | [[#5913b5a0]] | results |
2 | 2 | [[#5913b5a0]] | positions |
3 | 1 | [[#5913b520]] | containerName |
3 | 2 | [[#5913b520]] | variable |
4 | 1 | [[#5913b480]] | getTypeContainerName |
4 | 2 | [[#5913b480]] | getType |