Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 5 | 3 | 0.990 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 134 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
2 | 12 | 147 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
3 | 12 | 160 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
4 | 12 | 173 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
5 | 12 | 186 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
| ||||
try { DataInputStream inputStream = new DataInputStream(ScannerHelper.class .getResourceAsStream("start1.rsc")); //$NON-NLS-1$ long[] readValues = new long[1024]; for (int i = 0; i < 1024; i++) { readValues[i] = inputStream.readLong(); } inputStream.close(); Tables[START_INDEX][0] = readValues; } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } |
| ||||
try { DataInputStream inputStream = new DataInputStream(ScannerHelper.class .getResourceAsStream("start2.rsc")); //$NON-NLS-1$ long[] readValues = new long[1024]; for (int i = 0; i < 1024; i++) { readValues[i] = inputStream.readLong(); } inputStream.close(); Tables[START_INDEX][1] = readValues; } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } |
| ||||
try { DataInputStream inputStream = new DataInputStream(ScannerHelper.class .getResourceAsStream("part1.rsc")); //$NON-NLS-1$ long[] readValues = new long[1024]; for (int i = 0; i < 1024; i++) { readValues[i] = inputStream.readLong(); } inputStream.close(); Tables[PART_INDEX][0] = readValues; } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } |
| ||||
try { DataInputStream inputStream = new DataInputStream(ScannerHelper.class .getResourceAsStream("part2.rsc")); //$NON-NLS-1$ long[] readValues = new long[1024]; for (int i = 0; i < 1024; i++) { readValues[i] = inputStream.readLong(); } inputStream.close(); Tables[PART_INDEX][1] = readValues; } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } |
| ||||
try { DataInputStream inputStream = new DataInputStream(ScannerHelper.class .getResourceAsStream("part14.rsc")); //$NON-NLS-1$ long[] readValues = new long[1024]; for (int i = 0; i < 1024; i++) { readValues[i] = inputStream.readLong(); } inputStream.close(); Tables[PART_INDEX][2] = readValues; } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } |
| |||
try { DataInputStream inputStream = new DataInputStream(ScannerHelper.class .getResourceAsStream( [[#variablec262c600]])); //$NON-NLS-1$ long[] readValues = new long[1024]; for (int i = 0; i < 1024; i++) { readValues[i] = inputStream.readLong(); } inputStream.close(); Tables[ [[#variablec262c560]]][ [[#variablec262c4e0]]] = readValues; } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c262c600]] | "part14.rsc" |
1 | 2 | [[#c262c600]] | "part2.rsc" |
1 | 3 | [[#c262c600]] | "part1.rsc" |
1 | 4 | [[#c262c600]] | "start2.rsc" |
1 | 5 | [[#c262c600]] | "start1.rsc" |
2 | 1 | [[#c262c560]] | PART_INDEX |
2 | 2 | [[#c262c560]] | PART_INDEX |
2 | 3 | [[#c262c560]] | PART_INDEX |
2 | 4 | [[#c262c560]] | START_INDEX |
2 | 5 | [[#c262c560]] | START_INDEX |
3 | 1 | [[#c262c4e0]] | 2 |
3 | 2 | [[#c262c4e0]] | 1 |
3 | 3 | [[#c262c4e0]] | 0 |
3 | 4 | [[#c262c4e0]] | 1 |
3 | 5 | [[#c262c4e0]] | 0 |