CloneSet956


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17220.966statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117301
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjects2DTests.java
217333
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjects2DTests.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
301
Source File
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);


First
Previous
Clone Instance
2
Line Count
17
Source Line
333
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjects2DTests.java

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);


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18e0d140]]
removeRow 
12[[#18e0d140]]
removeColumn 
21[[#18e0db80]]
getRowCount 
22[[#18e0db80]]
getColumnCount