CloneSet 226

# CloneSet226

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
9 | 6 | 1 | 0.989 | statement_sequence[4]

Clone Abstraction | Parameter Bindings

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

1

9

108

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

2

9

88

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

3

9

89

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

4

9

166

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

5

9

128

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

6

9

115

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

Next
Last

Clone Instance
1

Line Count
9

Source Line
108

Source File

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

    try {
      d2 = (DefaultKeyedValueDataset) d1.clone();
    }
    catch (CloneNotSupportedException
           e) {
      System.err.println("Failed to clone.");
    }
    assertTrue(d1 != d2);
    assertTrue(d1.getClass() == d2.getClass());
    assertTrue(d1.equals(d2));

Next
Previous

Clone Instance
2

Line Count
9

Source Line
88

Source File

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

    try {
      d2 = (DefaultKeyedValues2DDataset) d1.clone();
    }
    catch (CloneNotSupportedException
           e) {
      System.err.println("Failed to clone.");
    }
    assertTrue(d1 != d2);
    assertTrue(d1.getClass() == d2.getClass());
    assertTrue(d1.equals(d2));

Next
Previous

Clone Instance
3

Line Count
9

Source Line
89

Source File

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

    try {
      d2 = (DefaultKeyedValuesDataset) d1.clone();
    }
    catch (CloneNotSupportedException
           e) {
      System.err.println("Failed to clone.");
    }
    assertTrue(d1 != d2);
    assertTrue(d1.getClass() == d2.getClass());
    assertTrue(d1.equals(d2));

Next
Previous

Clone Instance
4

Line Count
9

Source Line
166

Source File

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

    try {
      d2 = (DefaultPieDataset) d1.clone();
    }
    catch (CloneNotSupportedException
           e) {
      System.err.println("Failed to clone.");
    }
    assertTrue(d1 != d2);
    assertTrue(d1.getClass() == d2.getClass());
    assertTrue(d1.equals(d2));

Next
Previous

Clone Instance
5

Line Count
9

Source Line
128

Source File

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

    try {
      d2 = (IntervalXYDelegate) d1.clone();
    }
    catch (CloneNotSupportedException
           e) {
      System.err.println("Failed to clone.");
    }
    assertTrue(d1 != d2);
    assertTrue(d1.getClass() == d2.getClass());
    assertTrue(d1.equals(d2));

First
Previous

Clone Instance
6

Line Count
9

Source Line
115

Source File

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

    try {
      d2 = (DefaultTableXYDataset) d1.clone();
    }
    catch (CloneNotSupportedException
           e) {
      System.err.println("Failed to clone.");
    }
    assertTrue(d1 != d2);
    assertTrue(d1.getClass() == d2.getClass());
    assertTrue(d1.equals(d2));

Clone Abstraction | Parameter Count: 1 | Parameter Bindings

    try {
      d2 = ( [[#variable1a853c80]]) d1.clone();
    }
    catch (CloneNotSupportedException
           e) {
      System.err.println("Failed to clone.");
    }
    assertTrue(d1 != d2);
    assertTrue(d1.getClass() == d2.getClass());
    assertTrue(d1.equals(d2));

CloneAbstraction

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

1

1

`[[#1a853c80]]`

    DefaultKeyedValueDataset

1

2

`[[#1a853c80]]`

    DefaultKeyedValues2DDataset

1

3

`[[#1a853c80]]`

    DefaultKeyedValuesDataset

1

4

`[[#1a853c80]]`

    DefaultPieDataset

1

5

`[[#1a853c80]]`

    IntervalXYDelegate

1

6

`[[#1a853c80]]`

    DefaultTableXYDataset