CloneSet 545

# CloneSet545

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
11 | 2 | 3 | 0.964 | block

Clone Abstraction | Parameter Bindings

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

1

11

136

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

2

11

154

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

Next
Last

Clone Instance
1

Line Count
11

Source Line
136

Source File

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

    {
      TimeZone zone = TimeZone.getTimeZone("GMT");
      Quarter q1 = new Quarter(new Date(1017619199999L), zone);
      Quarter q2 = new Quarter(new Date(1017619200000L), zone);
      assertEquals(1, q1.getQuarter());
      assertEquals(1017619199999L, q1.getLastMillisecond(zone));
      assertEquals(2, q2.getQuarter());
      assertEquals(1017619200000L, q2.getFirstMillisecond(zone));
    }

First
Previous

Clone Instance
2

Line Count
11

Source Line
154

Source File

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

    {
      TimeZone zone = TimeZone.getTimeZone("Europe/Istanbul");
      Quarter q1 = new Quarter(new Date(1017608399999L), zone);
      Quarter q2 = new Quarter(new Date(1017608400000L), zone);
      assertEquals(1, q1.getQuarter());
      assertEquals(1017608399999L, q1.getLastMillisecond(zone));
      assertEquals(2, q2.getQuarter());
      assertEquals(1017608400000L, q2.getFirstMillisecond(zone));
    }

Clone Abstraction | Parameter Count: 3 | Parameter Bindings

    {
      TimeZone zone = TimeZone.getTimeZone( [[#variable18c3cfa0]]);
      Quarter q1 = new Quarter(new Date( [[#variable18c3cf40]]), zone);
      Quarter q2 = new Quarter(new Date( [[#variable18c3cec0]]), zone);
      assertEquals(1, q1.getQuarter());
      assertEquals( [[#variable18c3cf40]], q1.getLastMillisecond(zone));
      assertEquals(2, q2.getQuarter());
      assertEquals( [[#variable18c3cec0]], q2.getFirstMillisecond(zone));
    }

CloneAbstraction

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

1

1

`[[#18c3cfa0]]`

    "GMT"

1

2

`[[#18c3cfa0]]`

    "Europe/Istanbul"

2

1

`[[#18c3cf40]]`

    1017619199999L

2

2

`[[#18c3cf40]]`

    1017608399999L

3

1

`[[#18c3cec0]]`

    1017619200000L

3

2

`[[#18c3cec0]]`

    1017608400000L