CloneSet 1145

# CloneSet1145

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
5 | 2 | 3 | 0.959 | method_declaration

Clone Abstraction | Parameter Bindings

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

1

5

574

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/renderer/junit/AbstractRendererTests.java

2

5

584

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/renderer/junit/AbstractRendererTests.java

Next
Last

Clone Instance
1

Line Count
5

Source Line
574

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/renderer/junit/AbstractRendererTests.java

    /**
     * Test that setting the stroke for ALL series does in fact work.
     */
    public void testSetStroke() {
      BarRenderer r = new BarRenderer();
      Stroke s = new BasicStroke(10.0F);
      r.setStroke(s);
      assertEquals(s, r.getItemStroke(0, 0));
    }

First
Previous

Clone Instance
2

Line Count
5

Source Line
584

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/renderer/junit/AbstractRendererTests.java

    /**
     * Test that setting the outline stroke for ALL series does in fact work.
     */
    public void testSetOutlineStroke() {
      BarRenderer r = new BarRenderer();
      Stroke s = new BasicStroke(10.0F);
      r.setOutlineStroke(s);
      assertEquals(s, r.getItemOutlineStroke(0, 0));
    }

Clone Abstraction | Parameter Count: 3 | Parameter Bindings

    /**
         * Test that setting the outline stroke for ALL series does in fact work.
         */
    /**
         * Test that setting the stroke for ALL series does in fact work.
         */
    public void [[#variable18eb2e40]]() {
      BarRenderer r = new BarRenderer();
      Stroke s = new BasicStroke(10.0F);
      r. [[#variable18eb2dc0]](s);
      assertEquals(s, r. [[#variable18eb2ca0]](0, 0));
    }

CloneAbstraction

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

1

1

`[[#18eb2e40]]`

    testSetStroke

1

2

`[[#18eb2e40]]`

    testSetOutlineStroke

2

1

`[[#18eb2dc0]]`

    setStroke

2

2

`[[#18eb2dc0]]`

    setOutlineStroke

3

1

`[[#18eb2ca0]]`

    getItemStroke

3

2

`[[#18eb2ca0]]`

    getItemOutlineStroke