CloneSet803


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8420.959statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18358
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValues2DTests.java
28364
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValuesTests.java
38364
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjects2DTests.java
48396
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjects2DTests.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
358
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValues2DTests.java

// check for unknown column
boolean pass = false;
try {
  d.removeColumn("XXX");
}
catch (UnknownKeyException
       e) {
  pass = true;
}
assertTrue(pass);


Next
Previous
Clone Instance
2
Line Count
8
Source Line
364
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValuesTests.java

boolean pass = false;
try {
  data.removeValue("XXX");
}
catch (UnknownKeyException
       e) {
  pass = true;
}
assertTrue(pass);


Next
Previous
Clone Instance
3
Line Count
8
Source Line
364
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjects2DTests.java

// try unknown row key
boolean pass = false;
try {
  data.removeRow("XXX");
}
catch (UnknownKeyException
       e) {
  pass = true;
}
assertTrue(pass);


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

// try unknown column key
boolean pass = false;
try {
  data.removeColumn("XXX");
}
catch (UnknownKeyException
       e) {
  pass = true;
}
assertTrue(pass);


Clone AbstractionParameter Count: 2Parameter Bindings

// check for unknown column
// try unknown column key
// try unknown row key
boolean pass = false;
try {
   [[#variable18d753a0]]. [[#variable18d74ec0]]("XXX");
}
catch (UnknownKeyException
       e) {
  pass = true;
}
assertTrue(pass);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d753a0]]
d 
12[[#18d753a0]]
data 
13[[#18d753a0]]
data 
14[[#18d753a0]]
data 
21[[#18d74ec0]]
removeColumn 
22[[#18d74ec0]]
removeValue 
23[[#18d74ec0]]
removeRow 
24[[#18d74ec0]]
removeColumn