DateAxis a1 = new DateAxis("Test"); DateAxis a2 = new DateAxis("Test"); assertTrue(a1.equals(a2)); assertFalse(a1.equals(null)); assertFalse(a1.equals("Some non-DateAxis object")); // tickUnit a1.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 7)); assertFalse(a1.equals(a2)); a2.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 7)); assertTrue(a1.equals(a2)); // dateFormatOverride a1.setDateFormatOverride(new SimpleDateFormat("yyyy")); assertFalse(a1.equals(a2)); a2.setDateFormatOverride(new SimpleDateFormat("yyyy")); assertTrue(a1.equals(a2)); // tickMarkPosition a1.setTickMarkPosition(DateTickMarkPosition.END); assertFalse(a1.equals(a2)); a2.setTickMarkPosition(DateTickMarkPosition.END); assertTrue(a1.equals(a2)); // timeline a1.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline()); assertFalse(a1.equals(a2)); a2.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline()); assertTrue(a1.equals(a2));
NumberAxis a1 = new NumberAxis("Test"); NumberAxis a2 = new NumberAxis("Test"); assertTrue(a1.equals(a2)); //private boolean autoRangeIncludesZero; a1.setAutoRangeIncludesZero(false); assertFalse(a1.equals(a2)); a2.setAutoRangeIncludesZero(false); assertTrue(a1.equals(a2)); //private boolean autoRangeStickyZero; a1.setAutoRangeStickyZero(false); assertFalse(a1.equals(a2)); a2.setAutoRangeStickyZero(false); assertTrue(a1.equals(a2)); //private NumberTickUnit tickUnit; a1.setTickUnit(new NumberTickUnit(25.0)); assertFalse(a1.equals(a2)); a2.setTickUnit(new NumberTickUnit(25.0)); assertTrue(a1.equals(a2)); //private NumberFormat numberFormatOverride; a1.setNumberFormatOverride(new DecimalFormat("0.00")); assertFalse(a1.equals(a2)); a2.setNumberFormatOverride(new DecimalFormat("0.00")); assertTrue(a1.equals(a2)); a1.setRangeType(RangeType.POSITIVE); assertFalse(a1.equals(a2)); a2.setRangeType(RangeType.POSITIVE); assertTrue(a1.equals(a2));
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/DateAxisTests.java File path: /jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/NumberAxisTests.java
Method name: void testEquals() Method name: void testEquals()
Number of AST nodes: 21 Number of AST nodes: 23
1
DateAxis a1 = new DateAxis("Test");
1
NumberAxis a1 = new NumberAxis("Test");
2
        DateAxis a2 = new DateAxis("Test");
2
        NumberAxis a2 = new NumberAxis("Test");
3
        assertTrue(a1.equals(a2));
3
        assertTrue(a1.equals(a2));
4
        assertFalse(a1.equals(null));
4
        
5
        assertFalse(a1.equals("Some non-DateAxis object"));
6
        
7
        // tickUnit 
8
        a1.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 7)
5
        //private boolean autoRangeIncludesZero;
6
        a1.setAutoRangeIncludesZero(false);
7
        assertFalse(a1.equals(a2));
8
        a2.setAutoRangeIncludesZero(false);
9
        assertTrue(a1.equals(a2));
10
        //private boolean autoRangeStickyZero;
9
);
11
        a1.setAutoRangeStickyZero(false);
10
        assertFalse(a1.equals(a2));
12
        assertFalse(a1.equals(a2));
11
        a2.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 7));
13
        a2.setAutoRangeStickyZero(false);
12
        assertTrue(a1.equals(a2));
14
        assertTrue(a1.equals(a2));
13
        // dateFormatOverride 
15
        //
14
        a1.setDateFormatOverride(new SimpleDateFormat("yyyy"
16
private NumberTickUnit tickUnit;
15
));
17
        a1.setTickUnit(new NumberTickUnit(25.0));
16
        assertFalse(a1.equals(a2));
18
        assertFalse(a1.equals(a2));
17
        a2.setDateFormatOverride(new SimpleDateFormat("yyyy"));
19
        a2.setTickUnit(new NumberTickUnit(25.0));
18
        assertTrue(a1.equals(a2));
20
        assertTrue(a1.equals(a2));
19
        // tickMarkPosition
21
        //
20
        a1.setTickMarkPosition(DateTickMarkPosition.END
22
private NumberFormat numberFormatOverride;
21
);
23
        a1.setNumberFormatOverride(new DecimalFormat("0.00"));
22
        assertFalse(a1.equals(a2));
24
        assertFalse(a1.equals(a2));
23
        a2.setTickMarkPosition(DateTickMarkPosition.END);
25
        a2.setNumberFormatOverride(new DecimalFormat("0.00"));
24
        assertTrue(a1.equals(a2));
26
        assertTrue(a1.equals(a2));
25
        
27
        
26
        // timeline
28
        
27
        a1.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline());
28
        assertFalse(a1.equals(a2));
29
        a2.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline()
29
a1.setRangeType(RangeType.POSITIVE);
30
        assertFalse(a1.equals(a2));
30
);
31
        a2.setRangeType(RangeType.POSITIVE);
31
        assertTrue(a1.equals(a2));
32
        assertTrue(a1.equals(a2));
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 comparisons170
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements16
    Number of unmapped statements in the first code fragment5
    Number of unmapped statements in the second code fragment7
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    DateAxis a1 = new DateAxis("Test");
    1
    DateAxis a1 = new DateAxis("Test");
    1
    NumberAxis a1 = new NumberAxis("Test");
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression new DateAxis("Test") cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression new NumberAxis("Test") cannot be parameterized, because it has dependencies to/from statements that will be extracted
    1
    NumberAxis a1 = new NumberAxis("Test");
    2
    DateAxis a2 = new DateAxis("Test");
    2
    DateAxis a2 = new DateAxis("Test");
    2
    NumberAxis a2 = new NumberAxis("Test");
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression new DateAxis("Test") cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression new NumberAxis("Test") cannot be parameterized, because it has dependencies to/from statements that will be extracted
    2
    NumberAxis a2 = new NumberAxis("Test");
    3
    assertTrue(a1.equals(a2));
    3
    assertTrue(a1.equals(a2));
    3
    assertTrue(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    3
    assertTrue(a1.equals(a2));
                                                                                
    4
    a1.setAutoRangeIncludesZero(false);
    Preondition Violations
    Unmatched statement a1.setAutoRangeIncludesZero(false); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    4
    a1.setAutoRangeIncludesZero(false);
                                                                                
    6
    a2.setAutoRangeIncludesZero(false);
    Preondition Violations
    Unmatched statement a2.setAutoRangeIncludesZero(false); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    6
    a2.setAutoRangeIncludesZero(false);
                                                                            
    8
    a1.setAutoRangeStickyZero(false);
    Preondition Violations
    Unmatched statement a1.setAutoRangeStickyZero(false); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    8
    a1.setAutoRangeStickyZero(false);
                                                                              
    10
    a2.setAutoRangeStickyZero(false);
    Preondition Violations
    Unmatched statement a2.setAutoRangeStickyZero(false); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    10
    a2.setAutoRangeStickyZero(false);
    4
    assertFalse(a1.equals(null));
    4
    assertFalse(a1.equals(null));
    21
    assertFalse(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    nulla2TYPE_COMPATIBLE_REPLACEMENT
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression a2 cannot be parameterized, because it has dependencies to/from statements that will be extracted
    21
    assertFalse(a1.equals(a2));
    5
    assertFalse(a1.equals("Some non-DateAxis object"));
    5
    assertFalse(a1.equals("Some non-DateAxis object"));
    Preondition Violations
    Unmatched statement assertFalse(a1.equals("Some non-DateAxis object")); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
                                                                                                                
    6
    a1.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 7));
    6
    a1.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 7));
    12
    a1.setTickUnit(new NumberTickUnit(25.0));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateTickUnitorg.jfree.chart.axis.NumberTickUnitSUBCLASS_TYPE_MISMATCH
    new DateTickUnit(DateTickUnit.DAY,7)new NumberTickUnit(25.0)ARGUMENT_NUMBER_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression new DateTickUnit(DateTickUnit.DAY,7) cannot be unified with expression new NumberTickUnit(25.0) , because common superclass type org.jfree.chart.axis.TickUnit cannot be passed as an argument to public void setTickUnit(org.jfree.chart.axis.DateTickUnit)
    Expression a1 cannot be unified with expression a1 , because common superclass org.jfree.chart.axis.ValueAxis does not declare member(s) public void setTickUnit(org.jfree.chart.axis.DateTickUnit) , public void setTickUnit(org.jfree.chart.axis.NumberTickUnit)
    12
    a1.setTickUnit(new NumberTickUnit(25.0));
    7
    assertFalse(a1.equals(a2));
    7
    assertFalse(a1.equals(a2));
    5
    assertFalse(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    5
    assertFalse(a1.equals(a2));
    8
    a2.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 7));
    8
    a2.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 7));
    14
    a2.setTickUnit(new NumberTickUnit(25.0));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateTickUnitorg.jfree.chart.axis.NumberTickUnitSUBCLASS_TYPE_MISMATCH
    new DateTickUnit(DateTickUnit.DAY,7)new NumberTickUnit(25.0)ARGUMENT_NUMBER_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression new DateTickUnit(DateTickUnit.DAY,7) cannot be unified with expression new NumberTickUnit(25.0) , because common superclass type org.jfree.chart.axis.TickUnit cannot be passed as an argument to public void setTickUnit(org.jfree.chart.axis.DateTickUnit)
    Expression a2 cannot be unified with expression a2 , because common superclass org.jfree.chart.axis.ValueAxis does not declare member(s) public void setTickUnit(org.jfree.chart.axis.DateTickUnit) , public void setTickUnit(org.jfree.chart.axis.NumberTickUnit)
    14
    a2.setTickUnit(new NumberTickUnit(25.0));
    9
    assertTrue(a1.equals(a2));
    9
    assertTrue(a1.equals(a2));
    7
    assertTrue(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    7
    assertTrue(a1.equals(a2));
    10
    a1.setDateFormatOverride(new SimpleDateFormat("yyyy"));
    10
    a1.setDateFormatOverride(new SimpleDateFormat("yyyy"));
    16
    a1.setNumberFormatOverride(new DecimalFormat("0.00"));
    Differences
    Expression1Expression2Difference
    java.text.SimpleDateFormatjava.text.DecimalFormatSUBCLASS_TYPE_MISMATCH
    "yyyy""0.00"LITERAL_VALUE_MISMATCH
    setDateFormatOverridesetNumberFormatOverrideMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression a1.setDateFormatOverride(new SimpleDateFormat("yyyy")) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression a1.setNumberFormatOverride(new DecimalFormat("0.00")) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression a1.setDateFormatOverride(new SimpleDateFormat("yyyy")) is a void method call, and thus it cannot be parameterized
    Expression a1.setNumberFormatOverride(new DecimalFormat("0.00")) is a void method call, and thus it cannot be parameterized
    Expression a1 cannot be unified with expression a1 , because common superclass org.jfree.chart.axis.ValueAxis does not declare member(s) public void setDateFormatOverride(java.text.DateFormat) , public void setNumberFormatOverride(java.text.NumberFormat)
    16
    a1.setNumberFormatOverride(new DecimalFormat("0.00"));
    11
    assertFalse(a1.equals(a2));
    11
    assertFalse(a1.equals(a2));
    9
    assertFalse(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    9
    assertFalse(a1.equals(a2));
    12
    a2.setDateFormatOverride(new SimpleDateFormat("yyyy"));
    12
    a2.setDateFormatOverride(new SimpleDateFormat("yyyy"));
    18
    a2.setNumberFormatOverride(new DecimalFormat("0.00"));
    Differences
    Expression1Expression2Difference
    java.text.SimpleDateFormatjava.text.DecimalFormatSUBCLASS_TYPE_MISMATCH
    "yyyy""0.00"LITERAL_VALUE_MISMATCH
    setDateFormatOverridesetNumberFormatOverrideMETHOD_INVOCATION_NAME_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression a2.setDateFormatOverride(new SimpleDateFormat("yyyy")) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression a2.setNumberFormatOverride(new DecimalFormat("0.00")) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression a2.setDateFormatOverride(new SimpleDateFormat("yyyy")) is a void method call, and thus it cannot be parameterized
    Expression a2.setNumberFormatOverride(new DecimalFormat("0.00")) is a void method call, and thus it cannot be parameterized
    Expression a2 cannot be unified with expression a2 , because common superclass org.jfree.chart.axis.ValueAxis does not declare member(s) public void setDateFormatOverride(java.text.DateFormat) , public void setNumberFormatOverride(java.text.NumberFormat)
    18
    a2.setNumberFormatOverride(new DecimalFormat("0.00"));
    13
    assertTrue(a1.equals(a2));
    13
    assertTrue(a1.equals(a2));
    11
    assertTrue(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    11
    assertTrue(a1.equals(a2));
    14
    a1.setTickMarkPosition(DateTickMarkPosition.END);
    14
    a1.setTickMarkPosition(DateTickMarkPosition.END);
    Preondition Violations
    Unmatched statement a1.setTickMarkPosition(DateTickMarkPosition.END); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
                                                                                                              
    15
    assertFalse(a1.equals(a2));
    15
    assertFalse(a1.equals(a2));
    13
    assertFalse(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    13
    assertFalse(a1.equals(a2));
    16
    a2.setTickMarkPosition(DateTickMarkPosition.END);
    16
    a2.setTickMarkPosition(DateTickMarkPosition.END);
    Preondition Violations
    Unmatched statement a2.setTickMarkPosition(DateTickMarkPosition.END); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
                                                                                                              
    17
    assertTrue(a1.equals(a2));
    17
    assertTrue(a1.equals(a2));
    15
    assertTrue(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    15
    assertTrue(a1.equals(a2));
    18
    a1.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline());
    18
    a1.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline());
    Preondition Violations
    Unmatched statement a1.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline()); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
                                                                                                                                                  
    19
    assertFalse(a1.equals(a2));
    19
    assertFalse(a1.equals(a2));
    17
    assertFalse(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    17
    assertFalse(a1.equals(a2));
    20
    a2.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline());
    20
    a2.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline());
    Preondition Violations
    Unmatched statement a2.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline()); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
                                                                                                                                                  
    21
    assertTrue(a1.equals(a2));
    21
    assertTrue(a1.equals(a2));
    19
    assertTrue(a1.equals(a2));
    Differences
    Expression1Expression2Difference
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.axis.DateAxisorg.jfree.chart.axis.NumberAxisSUBCLASS_TYPE_MISMATCH
    19
    assertTrue(a1.equals(a2));
                                                                                    
    20
    a1.setRangeType(RangeType.POSITIVE);
    Preondition Violations
    Unmatched statement a1.setRangeType(RangeType.POSITIVE); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    20
    a1.setRangeType(RangeType.POSITIVE);
                                                                                    
    22
    a2.setRangeType(RangeType.POSITIVE);
    Preondition Violations
    Unmatched statement a2.setRangeType(RangeType.POSITIVE); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    22
    a2.setRangeType(RangeType.POSITIVE);
                                                                
    23
    assertTrue(a1.equals(a2));
    Preondition Violations
    Unmatched statement assertTrue(a1.equals(a2)); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    23
    assertTrue(a1.equals(a2));
    Precondition Violations (32)
    Row Violation
    1Expression new DateAxis("Test") cannot be parameterized, because it has dependencies to/from statements that will be extracted
    2Expression new NumberAxis("Test") cannot be parameterized, because it has dependencies to/from statements that will be extracted
    3Expression new DateAxis("Test") cannot be parameterized, because it has dependencies to/from statements that will be extracted
    4Expression new NumberAxis("Test") cannot be parameterized, because it has dependencies to/from statements that will be extracted
    5Unmatched statement a1.setAutoRangeIncludesZero(false); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    6Unmatched statement a2.setAutoRangeIncludesZero(false); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    7Unmatched statement a1.setAutoRangeStickyZero(false); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    8Unmatched statement a2.setAutoRangeStickyZero(false); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    9Expression a2 cannot be parameterized, because it has dependencies to/from statements that will be extracted
    10Unmatched statement assertFalse(a1.equals("Some non-DateAxis object")); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    11Expression new DateTickUnit(DateTickUnit.DAY,7) cannot be unified with expression new NumberTickUnit(25.0) , because common superclass type org.jfree.chart.axis.TickUnit cannot be passed as an argument to public void setTickUnit(org.jfree.chart.axis.DateTickUnit)
    12Expression a1 cannot be unified with expression a1 , because common superclass org.jfree.chart.axis.ValueAxis does not declare member(s) public void setTickUnit(org.jfree.chart.axis.DateTickUnit) , public void setTickUnit(org.jfree.chart.axis.NumberTickUnit)
    13Expression new DateTickUnit(DateTickUnit.DAY,7) cannot be unified with expression new NumberTickUnit(25.0) , because common superclass type org.jfree.chart.axis.TickUnit cannot be passed as an argument to public void setTickUnit(org.jfree.chart.axis.DateTickUnit)
    14Expression a2 cannot be unified with expression a2 , because common superclass org.jfree.chart.axis.ValueAxis does not declare member(s) public void setTickUnit(org.jfree.chart.axis.DateTickUnit) , public void setTickUnit(org.jfree.chart.axis.NumberTickUnit)
    15Expression a1.setDateFormatOverride(new SimpleDateFormat("yyyy")) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    16Expression a1.setNumberFormatOverride(new DecimalFormat("0.00")) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    17Expression a1.setDateFormatOverride(new SimpleDateFormat("yyyy")) is a void method call, and thus it cannot be parameterized
    18Expression a1.setNumberFormatOverride(new DecimalFormat("0.00")) is a void method call, and thus it cannot be parameterized
    19Expression a1 cannot be unified with expression a1 , because common superclass org.jfree.chart.axis.ValueAxis does not declare member(s) public void setDateFormatOverride(java.text.DateFormat) , public void setNumberFormatOverride(java.text.NumberFormat)
    20Expression a2.setDateFormatOverride(new SimpleDateFormat("yyyy")) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    21Expression a2.setNumberFormatOverride(new DecimalFormat("0.00")) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    22Expression a2.setDateFormatOverride(new SimpleDateFormat("yyyy")) is a void method call, and thus it cannot be parameterized
    23Expression a2.setNumberFormatOverride(new DecimalFormat("0.00")) is a void method call, and thus it cannot be parameterized
    24Expression a2 cannot be unified with expression a2 , because common superclass org.jfree.chart.axis.ValueAxis does not declare member(s) public void setDateFormatOverride(java.text.DateFormat) , public void setNumberFormatOverride(java.text.NumberFormat)
    25Unmatched statement a1.setTickMarkPosition(DateTickMarkPosition.END); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    26Unmatched statement a2.setTickMarkPosition(DateTickMarkPosition.END); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    27Unmatched statement a1.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline()); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    28Unmatched statement a2.setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline()); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    29Unmatched statement a1.setRangeType(RangeType.POSITIVE); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    30Unmatched statement a2.setRangeType(RangeType.POSITIVE); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    31Unmatched statement assertTrue(a1.equals(a2)); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    32Clone fragment #1 returns variables a1, a2 , while Clone fragment #2 returns variables a1, a2