| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 1 | 0.978 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 115 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java |
| 2 | 3 | 172 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java |
| ||||
int startDiff = this.getNode().getStartPosition() - r2.getNode().getStartPosition();
if (startDiff != 0) {
return startDiff; // insert before if start node is first
}
|
| ||||
int startDiff = this.getStartNode().getStartPosition() - r2.getStartNode().getStartPosition();
if (startDiff != 0) {
return startDiff; // insert before if start node is first
}
|
| |||
int startDiff = this. [[#variable4cfcef80]]().getStartPosition() - r2. [[#variable4cfcef80]]().getStartPosition();
if (startDiff != 0) {
return startDiff; // insert before if start node is first
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4cfcef80]] | getStartNode |
| 1 | 2 | [[#4cfcef80]] | getNode |