StandardDialRange r1 = new StandardDialRange(); StandardDialRange r2 = new StandardDialRange(); assertTrue(r1.equals(r2)); // lowerBound r1.setLowerBound(1.1); assertFalse(r1.equals(r2)); r2.setLowerBound(1.1); assertTrue(r1.equals(r2)); // upperBound r1.setUpperBound(11.1); assertFalse(r1.equals(r2)); r2.setUpperBound(11.1); assertTrue(r1.equals(r2)); // paint r1.setPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue)); assertFalse(r1.equals(r2)); r2.setPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue)); assertTrue(r1.equals(r2)); // check an inherited attribute r1.setVisible(false); assertFalse(r1.equals(r2)); r2.setVisible(false); assertTrue(r1.equals(r2));
BoxAndWhiskerRenderer r1 = new BoxAndWhiskerRenderer(); BoxAndWhiskerRenderer r2 = new BoxAndWhiskerRenderer(); assertEquals(r1, r2); r1.setArtifactPaint(new GradientPaint(1.0f, 2.0f, Color.yellow, 3.0f, 4.0f, Color.blue)); assertFalse(r1.equals(r2)); r2.setArtifactPaint(new GradientPaint(1.0f, 2.0f, Color.yellow, 3.0f, 4.0f, Color.blue)); assertEquals(r1, r2); r1.setFillBox(!r1.getFillBox()); assertFalse(r1.equals(r2)); r2.setFillBox(!r2.getFillBox()); assertEquals(r1, r2); r1.setItemMargin(0.11); assertFalse(r1.equals(r2)); r2.setItemMargin(0.11); assertEquals(r1, r2); r1.setMaximumBarWidth(0.99); assertFalse(r1.equals(r2)); r2.setMaximumBarWidth(0.99); assertTrue(r1.equals(r2));
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/StandardDialRangeTests.java File path: /jfreechart-1.0.10/tests/org/jfree/chart/renderer/category/junit/BoxAndWhiskerRendererTests.java
Method name: void testEquals() Method name: void testEquals()
Number of AST nodes: 19 Number of AST nodes: 19
1
StandardDialRange r1 = new StandardDialRange();
2
        StandardDialRange r2 = new StandardDialRange
1
BoxAndWhiskerRenderer r1 = new BoxAndWhiskerRenderer();
3
();
2
        BoxAndWhiskerRenderer r2 = new BoxAndWhiskerRenderer();
4
        assertTrue(r1.equals(r2));
3
        assertEquals(r1, r2);
5
        
4
        
6
        // lowerBound
7
        r1.setLowerBound(1.1);
8
        assertFalse(r1.equals(r2));
9
        r2.setLowerBound(1.1);
10
        assertTrue(r1.equals(r2));
11
        
12
        // upperBound
13
        r1.setUpperBound(11.1
5
r1.setArtifactPaint(new GradientPaint(1.0f, 2.0f, Color.yellow,
6
                3.0f, 4.0f, Color.blue));
7
        assertFalse(r1.equals(r2));
8
        r2.setArtifactPaint(new GradientPaint(1.0f, 2.0f, Color.yellow,
9
                3.0f, 4.0f, Color.blue));
10
        assertEquals(r1, r2);
14
);
11
        r1.setFillBox(!r1.getFillBox());
15
        assertFalse(r1.equals(r2));
12
        assertFalse(r1.equals(r2));
16
        r2.setUpperBound(11.1);
13
        r2.setFillBox(!r2.getFillBox());
17
        assertTrue(r1.equals(r2));
14
        assert
18
        
19
        // paint
20
        r1.setPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, 
21
                Color.blue)
15
Equals(r1, r2);
22
);
16
        r1.setItemMargin(0.11);
23
        assertFalse(r1.equals(r2));
17
        assertFalse(r1.equals(r2));
24
        r2.setPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, 
18
        r2.set
25
                Color.blue));
19
ItemMargin(0.11);
26
        assertTrue(r1.equals(r2));
20
        assertEquals(r1, r2);
27
        
28
        // check an inherited attribute
29
        r1.setVisible(false
30
);
21
        r1.setMaximumBarWidth(0.99);
31
        assertFalse(r1.equals(r2));
22
        assertFalse(r1.equals(r2));
32
        r2.setVisible(false);
23
        r2.setMaximumBarWidth(0.99);
33
        assertTrue(r1.equals(r2));
24
        assertTrue(r1.equals(r2));
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons116
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements19
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    1
    StandardDialRange r1 = new StandardDialRange();
    1
    StandardDialRange r1 = new StandardDialRange();
    1
    BoxAndWhiskerRenderer r1 = new BoxAndWhiskerRenderer();
    Differences
    Expression1Expression2Difference
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression new StandardDialRange() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression new BoxAndWhiskerRenderer() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    1
    BoxAndWhiskerRenderer r1 = new BoxAndWhiskerRenderer();
    2
    StandardDialRange r2 = new StandardDialRange();
    2
    StandardDialRange r2 = new StandardDialRange();
    2
    BoxAndWhiskerRenderer r2 = new BoxAndWhiskerRenderer();
    Differences
    Expression1Expression2Difference
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression new StandardDialRange() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression new BoxAndWhiskerRenderer() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    2
    BoxAndWhiskerRenderer r2 = new BoxAndWhiskerRenderer();
    3
    assertTrue(r1.equals(r2));
    3
    assertTrue(r1.equals(r2));
    3
    assertEquals(r1, r2);
    Differences
    Expression1Expression2Difference
    assertTrueassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertTrue(r1.equals(r2))assertEquals(r1,r2)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    3
    assertEquals(r1, r2);
    4
    r1.setLowerBound(1.1);
    4
    r1.setLowerBound(1.1);
    12
    r1.setItemMargin(0.11);
    Differences
    Expression1Expression2Difference
    1.10.11LITERAL_VALUE_MISMATCH
    setLowerBoundsetItemMarginMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r1.setLowerBound(1.1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setItemMargin(0.11) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setLowerBound(1.1) is a void method call, and thus it cannot be parameterized
    Expression r1.setItemMargin(0.11) is a void method call, and thus it cannot be parameterized
    Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setLowerBound(double) , public void setItemMargin(double)
    12
    r1.setItemMargin(0.11);
    5
    assertFalse(r1.equals(r2));
    5
    assertFalse(r1.equals(r2));
    5
    assertFalse(r1.equals(r2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    5
    assertFalse(r1.equals(r2));
    6
    r2.setLowerBound(1.1);
    6
    r2.setLowerBound(1.1);
    14
    r2.setItemMargin(0.11);
    Differences
    Expression1Expression2Difference
    1.10.11LITERAL_VALUE_MISMATCH
    setLowerBoundsetItemMarginMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r2.setLowerBound(1.1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setItemMargin(0.11) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setLowerBound(1.1) is a void method call, and thus it cannot be parameterized
    Expression r2.setItemMargin(0.11) is a void method call, and thus it cannot be parameterized
    Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setLowerBound(double) , public void setItemMargin(double)
    14
    r2.setItemMargin(0.11);
    7
    assertTrue(r1.equals(r2));
    7
    assertTrue(r1.equals(r2));
    7
    assertEquals(r1, r2);
    Differences
    Expression1Expression2Difference
    assertTrueassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertTrue(r1.equals(r2))assertEquals(r1,r2)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    7
    assertEquals(r1, r2);
    8
    r1.setUpperBound(11.1);
    8
    r1.setUpperBound(11.1);
    16
    r1.setMaximumBarWidth(0.99);
    Differences
    Expression1Expression2Difference
    11.10.99LITERAL_VALUE_MISMATCH
    setUpperBoundsetMaximumBarWidthMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r1.setUpperBound(11.1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setMaximumBarWidth(0.99) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setUpperBound(11.1) is a void method call, and thus it cannot be parameterized
    Expression r1.setMaximumBarWidth(0.99) is a void method call, and thus it cannot be parameterized
    Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setUpperBound(double) , public void setMaximumBarWidth(double)
    16
    r1.setMaximumBarWidth(0.99);
    9
    assertFalse(r1.equals(r2));
    9
    assertFalse(r1.equals(r2));
    9
    assertFalse(r1.equals(r2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    9
    assertFalse(r1.equals(r2));
    10
    r2.setUpperBound(11.1);
    10
    r2.setUpperBound(11.1);
    18
    r2.setMaximumBarWidth(0.99);
    Differences
    Expression1Expression2Difference
    11.10.99LITERAL_VALUE_MISMATCH
    setUpperBoundsetMaximumBarWidthMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r2.setUpperBound(11.1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setMaximumBarWidth(0.99) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setUpperBound(11.1) is a void method call, and thus it cannot be parameterized
    Expression r2.setMaximumBarWidth(0.99) is a void method call, and thus it cannot be parameterized
    Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setUpperBound(double) , public void setMaximumBarWidth(double)
    18
    r2.setMaximumBarWidth(0.99);
    11
    assertTrue(r1.equals(r2));
    11
    assertTrue(r1.equals(r2));
    11
    assertEquals(r1, r2);
    Differences
    Expression1Expression2Difference
    assertTrueassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertTrue(r1.equals(r2))assertEquals(r1,r2)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    11
    assertEquals(r1, r2);
    12
    r1.setPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue));
    12
    r1.setPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue));
    4
    r1.setArtifactPaint(new GradientPaint(1.0f, 2.0f, Color.yellow, 3.0f, 4.0f, Color.blue));
    Differences
    Expression1Expression2Difference
    redyellowVARIABLE_NAME_MISMATCH
    setPaintsetArtifactPaintMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r1.setPaint(new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setArtifactPaint(new GradientPaint(1.0f,2.0f,Color.yellow,3.0f,4.0f,Color.blue)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setPaint(new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)) is a void method call, and thus it cannot be parameterized
    Expression r1.setArtifactPaint(new GradientPaint(1.0f,2.0f,Color.yellow,3.0f,4.0f,Color.blue)) is a void method call, and thus it cannot be parameterized
    Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setPaint(java.awt.Paint) , public void setArtifactPaint(java.awt.Paint)
    4
    r1.setArtifactPaint(new GradientPaint(1.0f, 2.0f, Color.yellow, 3.0f, 4.0f, Color.blue));
    13
    assertFalse(r1.equals(r2));
    13
    assertFalse(r1.equals(r2));
    13
    assertFalse(r1.equals(r2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    13
    assertFalse(r1.equals(r2));
    14
    r2.setPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue));
    14
    r2.setPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue));
    6
    r2.setArtifactPaint(new GradientPaint(1.0f, 2.0f, Color.yellow, 3.0f, 4.0f, Color.blue));
    Differences
    Expression1Expression2Difference
    redyellowVARIABLE_NAME_MISMATCH
    setPaintsetArtifactPaintMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r2.setPaint(new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setArtifactPaint(new GradientPaint(1.0f,2.0f,Color.yellow,3.0f,4.0f,Color.blue)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setPaint(new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)) is a void method call, and thus it cannot be parameterized
    Expression r2.setArtifactPaint(new GradientPaint(1.0f,2.0f,Color.yellow,3.0f,4.0f,Color.blue)) is a void method call, and thus it cannot be parameterized
    Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setPaint(java.awt.Paint) , public void setArtifactPaint(java.awt.Paint)
    6
    r2.setArtifactPaint(new GradientPaint(1.0f, 2.0f, Color.yellow, 3.0f, 4.0f, Color.blue));
    15
    assertTrue(r1.equals(r2));
    15
    assertTrue(r1.equals(r2));
    15
    assertEquals(r1, r2);
    Differences
    Expression1Expression2Difference
    assertTrueassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertTrue(r1.equals(r2))assertEquals(r1,r2)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    15
    assertEquals(r1, r2);
    16
    r1.setVisible(false);
    16
    r1.setVisible(false);
    8
    r1.setFillBox(!r1.getFillBox());
    Differences
    Expression1Expression2Difference
    false!r1.getFillBox()TYPE_COMPATIBLE_REPLACEMENT
    setVisiblesetFillBoxMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression !r1.getFillBox() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setVisible(false) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setFillBox(!r1.getFillBox()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r1.setVisible(false) is a void method call, and thus it cannot be parameterized
    Expression r1.setFillBox(!r1.getFillBox()) is a void method call, and thus it cannot be parameterized
    8
    r1.setFillBox(!r1.getFillBox());
    17
    assertFalse(r1.equals(r2));
    17
    assertFalse(r1.equals(r2));
    17
    assertFalse(r1.equals(r2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    17
    assertFalse(r1.equals(r2));
    18
    r2.setVisible(false);
    18
    r2.setVisible(false);
    10
    r2.setFillBox(!r2.getFillBox());
    Differences
    Expression1Expression2Difference
    false!r2.getFillBox()TYPE_COMPATIBLE_REPLACEMENT
    setVisiblesetFillBoxMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression !r2.getFillBox() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setVisible(false) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setFillBox(!r2.getFillBox()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression r2.setVisible(false) is a void method call, and thus it cannot be parameterized
    Expression r2.setFillBox(!r2.getFillBox()) is a void method call, and thus it cannot be parameterized
    10
    r2.setFillBox(!r2.getFillBox());
    19
    assertTrue(r1.equals(r2));
    19
    assertTrue(r1.equals(r2));
    19
    assertTrue(r1.equals(r2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.plot.dial.StandardDialRangeorg.jfree.chart.renderer.category.BoxAndWhiskerRendererSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    19
    assertTrue(r1.equals(r2));
    Precondition Violations (91)
    Row Violation
    1Expression new StandardDialRange() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    2Expression new BoxAndWhiskerRenderer() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    3Expression new StandardDialRange() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    4Expression new BoxAndWhiskerRenderer() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    5Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    6Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    7Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    8Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    9Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    10Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    11Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    12Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    13Expression r1.setLowerBound(1.1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    14Expression r1.setItemMargin(0.11) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    15Expression r1.setLowerBound(1.1) is a void method call, and thus it cannot be parameterized
    16Expression r1.setItemMargin(0.11) is a void method call, and thus it cannot be parameterized
    17Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setLowerBound(double) , public void setItemMargin(double)
    18Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    19Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    20Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    21Expression r2.setLowerBound(1.1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    22Expression r2.setItemMargin(0.11) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    23Expression r2.setLowerBound(1.1) is a void method call, and thus it cannot be parameterized
    24Expression r2.setItemMargin(0.11) is a void method call, and thus it cannot be parameterized
    25Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setLowerBound(double) , public void setItemMargin(double)
    26Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    27Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    28Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    29Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    30Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    31Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    32Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    33Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    34Expression r1.setUpperBound(11.1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    35Expression r1.setMaximumBarWidth(0.99) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    36Expression r1.setUpperBound(11.1) is a void method call, and thus it cannot be parameterized
    37Expression r1.setMaximumBarWidth(0.99) is a void method call, and thus it cannot be parameterized
    38Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setUpperBound(double) , public void setMaximumBarWidth(double)
    39Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    40Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    41Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    42Expression r2.setUpperBound(11.1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    43Expression r2.setMaximumBarWidth(0.99) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    44Expression r2.setUpperBound(11.1) is a void method call, and thus it cannot be parameterized
    45Expression r2.setMaximumBarWidth(0.99) is a void method call, and thus it cannot be parameterized
    46Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setUpperBound(double) , public void setMaximumBarWidth(double)
    47Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    48Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    49Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    50Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    51Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    52Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    53Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    54Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    55Expression r1.setPaint(new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    56Expression r1.setArtifactPaint(new GradientPaint(1.0f,2.0f,Color.yellow,3.0f,4.0f,Color.blue)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    57Expression r1.setPaint(new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)) is a void method call, and thus it cannot be parameterized
    58Expression r1.setArtifactPaint(new GradientPaint(1.0f,2.0f,Color.yellow,3.0f,4.0f,Color.blue)) is a void method call, and thus it cannot be parameterized
    59Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setPaint(java.awt.Paint) , public void setArtifactPaint(java.awt.Paint)
    60Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    61Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    62Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    63Expression r2.setPaint(new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    64Expression r2.setArtifactPaint(new GradientPaint(1.0f,2.0f,Color.yellow,3.0f,4.0f,Color.blue)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    65Expression r2.setPaint(new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)) is a void method call, and thus it cannot be parameterized
    66Expression r2.setArtifactPaint(new GradientPaint(1.0f,2.0f,Color.yellow,3.0f,4.0f,Color.blue)) is a void method call, and thus it cannot be parameterized
    67Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public void setPaint(java.awt.Paint) , public void setArtifactPaint(java.awt.Paint)
    68Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    69Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    70Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    71Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    72Expression assertTrue(r1.equals(r2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    73Expression assertEquals(r1,r2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    74Expression assertTrue(r1.equals(r2)) is a void method call, and thus it cannot be parameterized
    75Expression assertEquals(r1,r2) is a void method call, and thus it cannot be parameterized
    76Expression !r1.getFillBox() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    77Expression r1.setVisible(false) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    78Expression r1.setFillBox(!r1.getFillBox()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    79Expression r1.setVisible(false) is a void method call, and thus it cannot be parameterized
    80Expression r1.setFillBox(!r1.getFillBox()) is a void method call, and thus it cannot be parameterized
    81Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    82Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    83Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    84Expression !r2.getFillBox() cannot be parameterized, because it has dependencies to/from statements that will be extracted
    85Expression r2.setVisible(false) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    86Expression r2.setFillBox(!r2.getFillBox()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    87Expression r2.setVisible(false) is a void method call, and thus it cannot be parameterized
    88Expression r2.setFillBox(!r2.getFillBox()) is a void method call, and thus it cannot be parameterized
    89Expression r2 cannot be unified with expression r2 , because common superclass type org.jfree.util.PublicCloneable cannot be passed as an argument to public boolean equals(java.lang.Object)
    90Expression r2 cannot be unified with expression r2 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)
    91Expression r1 cannot be unified with expression r1 , because common superclass org.jfree.util.PublicCloneable does not declare member(s) public boolean equals(java.lang.Object)