Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 1 | 0.965 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 154 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/EnvUtil.java |
2 | 17 | 366 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/Visitors.java |
| ||||
if (count != offsets.length) { _sortedStartingOffset = new int[count]; int index = 0; for (int i = 0,len = offsets.length; i < len; i++) { if (i > 0 && offsets[i - 1] == offsets[i]) continue ; _sortedStartingOffset[index++ ] = offsets[i]; } } else { _sortedStartingOffset = offsets; } _endingOffsets = new int[count]; for (int i = 0; i < count; i++) _endingOffsets[i] = 0; |
| ||||
if (count != offsets.length) { _sortedStartingOffset = new int[count]; int index = 0; for (int i = 0,len = offsets.length; i < len; i++) { if (i != 0 && offsets[i - 1] == offsets[i]) continue ; _sortedStartingOffset[index++ ] = offsets[i]; } } else { _sortedStartingOffset = offsets; } _endingOffsets = new int[count]; for (int i = 0; i < count; i++) _endingOffsets[i] = 0; |
| |||
if (count != offsets.length) { _sortedStartingOffset = new int[count]; int index = 0; for (int i = 0, len = offsets.length; i < len; i++) { if ( [[#variable945577e0]]&& offsets[i - 1] == offsets[i]) continue ; _sortedStartingOffset[index++ ] = offsets[i]; } } else { _sortedStartingOffset = offsets; } _endingOffsets = new int[count]; for (int i = 0; i < count; i++) _endingOffsets[i] = 0; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#945577e0]] | i > 0 |
1 | 2 | [[#945577e0]] | i != 0 |