CloneSet579


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18210.985statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118155
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValuesTests.java
218190
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValuesTests.java
Next
Last
Clone Instance
1
Line Count
18
Source Line
155
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValuesTests.java

try {
  /* Number n = */
  v1.getValue(-1);
  assertTrue(false);
}
catch (IndexOutOfBoundsException
       e) {
// expected
}
try {
  /* Number n = */
  v1.getValue(0);
  assertTrue(false);
}
catch (IndexOutOfBoundsException
       e) {
// expected
}
DefaultKeyedValues v2 = new DefaultKeyedValues();
v2.addValue("K1", new Integer(1));
v2.addValue("K2", new Integer(2));
v2.addValue("K3", new Integer(3));


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

try {
  /* Comparable k = */
  v1.getKey(-1);
  assertTrue(false);
}
catch (IndexOutOfBoundsException
       e) {
// expected
}
try {
  /* Comparable k = */
  v1.getKey(0);
  assertTrue(false);
}
catch (IndexOutOfBoundsException
       e) {
// expected
}
DefaultKeyedValues v2 = new DefaultKeyedValues();
v2.addValue("K1", new Integer(1));
v2.addValue("K2", new Integer(2));
v2.addValue("K3", new Integer(3));


Clone AbstractionParameter Count: 1Parameter Bindings

try {
  /* Number n = */
  /* Comparable k = */
  v1. [[#variable18c7d000]](-1);
  assertTrue(false);
}
catch (IndexOutOfBoundsException
       e) {
// expected
}
try {
  /* Number n = */
  /* Comparable k = */
  v1. [[#variable18c7d000]](0);
  assertTrue(false);
}
catch (IndexOutOfBoundsException
       e) {
// expected
}
DefaultKeyedValues v2 = new DefaultKeyedValues();
v2.addValue("K1", new Integer(1));
v2.addValue("K2", new Integer(2));
v2.addValue("K3", new Integer(3));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18c7d000]]
getValue 
12[[#18c7d000]]
getKey