CloneSet631


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17320.963statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117237
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjectsTests.java
217271
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjectsTests.java
317397
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjectsTests.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
237
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/KeyedObjectsTests.java

try {
  ko1.getObject(-1);
}
catch (IndexOutOfBoundsException
       e) {
  pass = true;
}
assertTrue(pass);
// request width index == itemCount
pass = false;
try {
  ko1.getObject(3);
}
catch (IndexOutOfBoundsException
       e) {
  pass = true;
}
assertTrue(pass);


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

try {
  ko1.getKey(-1);
}
catch (IndexOutOfBoundsException
       e) {
  pass = true;
}
assertTrue(pass);
// request width index == itemCount
pass = false;
try {
  ko1.getKey(3);
}
catch (IndexOutOfBoundsException
       e) {
  pass = true;
}
assertTrue(pass);


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

try {
  ko1.removeValue(-1);
}
catch (IndexOutOfBoundsException
       e) {
  pass = true;
}
assertTrue(pass);
// try key index == itemCount
pass = false;
try {
  ko1.removeValue(2);
}
catch (IndexOutOfBoundsException
       e) {
  pass = true;
}
assertTrue(pass);


Clone AbstractionParameter Count: 2Parameter Bindings

try {
  ko1. [[#variable18ca47e0]](-1);
}
catch (IndexOutOfBoundsException
       e) {
  pass = true;
}
assertTrue(pass);
// try key index == itemCount
// request width index == itemCount
pass = false;
try {
  ko1. [[#variable18ca47e0]]( [[#variable18ca4860]]);
}
catch (IndexOutOfBoundsException
       e) {
  pass = true;
}
assertTrue(pass);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ca47e0]]
getObject 
12[[#18ca47e0]]
getKey 
13[[#18ca47e0]]
removeValue 
21[[#18ca4860]]
3 
22[[#18ca4860]]
3 
23[[#18ca4860]]
2