CloneSet 366

# CloneSet366

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
18 | 3 | 1 | 0.992 | statement_sequence[7]

Clone Abstraction | Parameter Bindings

Clone Instance (Click to see clone) | Line Count | Source Line | Source File
--- | --- | --- | ---

1

18

90

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/category/junit/DefaultCategoryDatasetTests.java

2

18

92

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValues2DTests.java

3

18

92

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/statistics/junit/DefaultMultiValueCategoryDatasetTests.java

Next
Last

Clone Instance
1

Line Count
18

Source Line
90

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/category/junit/DefaultCategoryDatasetTests.java

    assertEquals(new Double(1.0), d.getValue("R1", "C1"));
    boolean pass = false;
    try {
      d.getValue("XX", "C1");
    }
    catch (UnknownKeyException
           e) {
      pass = true;
    }
    assertTrue(pass);
    pass = false;
    try {
      d.getValue("R1", "XX");
    }
    catch (UnknownKeyException
           e) {
      pass = true;
    }
    assertTrue(pass);

Next
Previous

Clone Instance
2

Line Count
18

Source Line
92

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/junit/DefaultKeyedValues2DTests.java

    assertEquals(new Double(1.0), d.getValue("R1", "C1"));
    boolean pass = false;
    try {
      d.getValue("XX", "C1");
    }
    catch (UnknownKeyException
           e) {
      pass = true;
    }
    assertTrue(pass);
    pass = false;
    try {
      d.getValue("R1", "XX");
    }
    catch (UnknownKeyException
           e) {
      pass = true;
    }
    assertTrue(pass);

First
Previous

Clone Instance
3

Line Count
18

Source Line
92

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/statistics/junit/DefaultMultiValueCategoryDatasetTests.java

    assertEquals(new Double(1.5), d.getValue("R1", "C1"));
    boolean pass = false;
    try {
      d.getValue("XX", "C1");
    }
    catch (UnknownKeyException
           e) {
      pass = true;
    }
    assertTrue(pass);
    pass = false;
    try {
      d.getValue("R1", "XX");
    }
    catch (UnknownKeyException
           e) {
      pass = true;
    }
    assertTrue(pass);

Clone Abstraction | Parameter Count: 1 | Parameter Bindings

    assertEquals(new Double( [[#variable1a9469e0]]), d.getValue("R1", "C1"));
    boolean pass = false;
    try {
      d.getValue("XX", "C1");
    }
    catch (UnknownKeyException
           e) {
      pass = true;
    }
    assertTrue(pass);
    pass = false;
    try {
      d.getValue("R1", "XX");
    }
    catch (UnknownKeyException
           e) {
      pass = true;
    }
    assertTrue(pass);

CloneAbstraction

Parameter Bindings
Parameter Index | Clone Instance | Parameter Name | Value
--- | --- | --- | ---

1

1

`[[#1a9469e0]]`

    1.0

1

2

`[[#1a9469e0]]`

    1.0

1

3

`[[#1a9469e0]]`

    1.5