Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 2 | 0.966 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 301 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjects2DTests.java |
2 | 17 | 333 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjects2DTests.java |
| |||||
try { data.removeRow(-1); } catch (IndexOutOfBoundsException e) { pass = true; } assertTrue(pass); // try row index too high pass = false; try { data.removeRow(data.getRowCount()); } catch (IndexOutOfBoundsException e) { pass = true; } assertTrue(pass); |
| |||||
try { data.removeColumn(-1); } catch (IndexOutOfBoundsException e) { pass = true; } assertTrue(pass); // try column index too high pass = false; try { data.removeColumn(data.getColumnCount()); } catch (IndexOutOfBoundsException e) { pass = true; } assertTrue(pass); |
| |||
try { data. [[#variable18e0d140]](-1); } catch (IndexOutOfBoundsException e) { pass = true; } assertTrue(pass); // try row index too high // try column index too high pass = false; try { data. [[#variable18e0d140]](data. [[#variable18e0db80]]()); } catch (IndexOutOfBoundsException e) { pass = true; } assertTrue(pass); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18e0d140]] | removeRow |
1 | 2 | [[#18e0d140]] | removeColumn |
2 | 1 | [[#18e0db80]] | getRowCount |
2 | 2 | [[#18e0db80]] | getColumnCount |