Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.980 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 80 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ArrayReferenceImpl.java |
2 | 4 | 225 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ArrayReferenceImpl.java |
| ||||
int arrayLength = length(); if (firstIndex < 0 || firstIndex >= arrayLength) { throw new IndexOutOfBoundsException(JDIMessages.ArrayReferenceImpl_Invalid_index_1); } |
| ||||
int arrayLength = length(); if (index < 0 || index >= arrayLength) { throw new IndexOutOfBoundsException(JDIMessages.ArrayReferenceImpl_Invalid_index_1); } |
| |||
int arrayLength = length(); if ( [[#variable569f8540]] < 0 || [[#variable569f8540]]>= arrayLength) { throw new IndexOutOfBoundsException(JDIMessages.ArrayReferenceImpl_Invalid_index_1); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#569f8540]] | index |
1 | 2 | [[#569f8540]] | firstIndex |