Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.953 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 25 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/LineInformation.java |
2 | 5 | 33 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/LineInformation.java |
| ||||
public int getLineOfOffset(int offset) { try { return doc.getLineOfOffset(offset); } catch (BadLocationException e) { return -1; } } |
| ||||
public int getLineOffset(int line) { try { return doc.getLineOffset(line); } catch (BadLocationException e) { return -1; } } |
| |||
public int [[#variablebc316ca0]](int [[#variablebc316c20]]) { try { return doc. [[#variablebc316ca0]]( [[#variablebc316c20]]); } catch (BadLocationException e) { return -1; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bc316ca0]] | getLineOfOffset |
1 | 2 | [[#bc316ca0]] | getLineOffset |
2 | 1 | [[#bc316c20]] | offset |
2 | 2 | [[#bc316c20]] | line |