Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.965 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 580 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java |
2 | 3 | 584 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java |
| ||||
int indexFirst = listEvent.getIndex(first, ListRewriteEvent.OLD); if (indexFirst == -1) { throw new IllegalArgumentException("Start node is not a original child of the given list"); //$NON-NLS-1$ } |
| ||||
int indexLast = listEvent.getIndex(last, ListRewriteEvent.OLD); if (indexLast == -1) { throw new IllegalArgumentException("End node is not a original child of the given list"); //$NON-NLS-1$ } |
| |||
int [[#variable6009a040]]= listEvent.getIndex( [[#variable5fee70a0]], ListRewriteEvent.OLD); if ( [[#variable6009a040]]== -1) { throw new IllegalArgumentException( [[#variable5fed7460]]); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6009a040]] | indexLast |
1 | 2 | [[#6009a040]] | indexFirst |
2 | 1 | [[#5fee70a0]] | last |
2 | 2 | [[#5fee70a0]] | first |
3 | 1 | [[#5fed7460]] | "End node is not a original child of the given list" |
3 | 2 | [[#5fed7460]] | "Start node is not a original child of the given list" |