Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.982 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 984 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java |
2 | 4 | 991 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java |
| ||||
if (this.addedImports != null) { for (int i = 0; i < this.addedImports.size(); i++) { String curr = (String) this.addedImports.get(i); computer.addImport(curr.substring(1), STATIC_PREFIX == curr.charAt(0)); } } |
| ||||
if (this.removedImports != null) { for (int i = 0; i < this.removedImports.size(); i++) { String curr = (String) this.removedImports.get(i); computer.removeImport(curr.substring(1), STATIC_PREFIX == curr.charAt(0)); } } |
| |||
if (this. [[#variableb50b5760]]!= null) { for (int i = 0; i < this. [[#variableb50b5760]].size(); i++) { String curr = (String) this. [[#variableb50b5760]].get(i); computer. [[#variableb50b5620]](curr.substring(1), STATIC_PREFIX == curr.charAt(0)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b50b5760]] | addedImports |
1 | 2 | [[#b50b5760]] | removedImports |
2 | 1 | [[#b50b5620]] | addImport |
2 | 2 | [[#b50b5620]] | removeImport |