141-1-2

PaintMap m1 = new PaintMap(); PaintMap m2 = new PaintMap(); assertTrue(m1.equals(m1)); assertTrue(m1.equals(m2)); assertFalse(m1.equals(null)); assertFalse(m1.equals("ABC")); m1.put("K1", Color.red); assertFalse(m1.equals(m2)); m2.put("K1", Color.red); assertTrue(m1.equals(m2)); m1.put("K2", new GradientPaint(1.0f, 2.0f, Color.green, 3.0f, 4.0f, Color.yellow)); assertFalse(m1.equals(m2)); m2.put("K2", new GradientPaint(1.0f, 2.0f, Color.green, 3.0f, 4.0f, Color.yellow)); assertTrue(m1.equals(m2)); m1.put("K2", null); assertFalse(m1.equals(m2)); m2.put("K2", null); assertTrue(m1.equals(m2));
StrokeMap m1 = new StrokeMap(); StrokeMap m2 = new StrokeMap(); assertTrue(m1.equals(m1)); assertTrue(m1.equals(m2)); assertFalse(m1.equals(null)); assertFalse(m1.equals("ABC")); m1.put("K1", new BasicStroke(1.1f)); assertFalse(m1.equals(m2)); m2.put("K1", new BasicStroke(1.1f)); assertTrue(m1.equals(m2)); m1.put("K2", new BasicStroke(2.2f)); assertFalse(m1.equals(m2)); m2.put("K2", new BasicStroke(2.2f)); assertTrue(m1.equals(m2)); m1.put("K2", null); assertFalse(m1.equals(m2)); m2.put("K2", null); assertTrue(m1.equals(m2));

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/junit/PaintMapTests.java |  | File path: /jfreechart-1.0.10/tests/org/jfree/chart/junit/StrokeMapTests.java
Method name: `void testEquals()` |  | Method name: `void testEquals()`
Number of AST nodes: 18 |  | Number of AST nodes: 18

1

    PaintMap m1 = new PaintMap();↵

1

    StrokeMap m1 = new StrokeMap();↵

2

            PaintMap m2 = new PaintMap();↵

2

            StrokeMap m2 = new StrokeMap();↵

3

            assertTrue(m1.equals(m1));↵

3

            assertTrue(m1.equals(m1));↵

4

            assertTrue(m1.equals(m2));↵

4

            assertTrue(m1.equals(m2));↵

5

            assertFalse(m1.equals(null));↵

5

            assertFalse(m1.equals(null));↵

6

            assertFalse(m1.equals("ABC"));↵

6

            assertFalse(m1.equals("ABC"));↵

7

            ↵

7

            ↵

8

            m1.put("K1", Color.red);↵

8

            m1.put("K1", new BasicStroke(1.1f));↵

9

            assertFalse(m1.equals(m2));↵

9

            assertFalse(m1.equals(m2));↵

10

            m2.put("K1", Color.red);↵

10

            m2.put("K1", new BasicStroke(1.1f));↵

11

            assertTrue(m1.equals(m2));↵

11

            assertTrue(m1.equals(m2));↵

12

            ↵

12

            ↵

13

            m1.put("K2", new GradientPaint(1.0f, 2.0f, Color.green, 3.0f, 4.0f, ↵

13

            m1.put("K2", new ↵

14

                    Color.yellow));↵

15

            assertFalse(m1.equals(m2));↵

16

            m2.put("K2", new GradientPaint(1.0f, 2.0f, Color.green, 3.0f, 4.0f, ↵

17

                    Color.yellow↵

14

    BasicStroke(2.2f));↵

15

            assertFalse(m1.equals(m2));↵

18

    ));↵

16

            m2.put("K2", new BasicStroke(2.2f));↵

19

            assertTrue(m1.equals(m2));↵

17

            assertTrue(m1.equals(m2));↵

20

            ↵

18

            ↵

21

            m1.put("K2", null);↵

19

            m1.put("K2", null);↵

22

            assertFalse(m1.equals(m2));↵

20

            assertFalse(m1.equals(m2));↵

23

            m2.put("K2", null);↵

21

            m2.put("K2", null);↵

24

            assertTrue(m1.equals(m2));

22

            assertTrue(m1.equals(m2));

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 1
Number of refactorable cases | 0
Number of non-refactorable cases | 1
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0
Clones location | Clones are in different classes having the same super class
Number of node comparisons | 271

1. {Non-refactorable}

   Mapping Summary
   Number of mapped statements | 14
   Number of unmapped statements in the first code fragment | 4
   Number of unmapped statements in the second code fragment | 4
   Time elapsed for statement mapping (ms) | 0.0
   Clone type | Type 2

   Mapped Statements
   ID | Statement |  | ID | Statement
   --- | --- | --- | --- | ---

   1

       StrokeMap m1 = new StrokeMap();

   1

       PaintMap m1 = new PaintMap();

   2

       StrokeMap m2 = new StrokeMap();

   2

       PaintMap m2 = new PaintMap();

   3

       assertTrue(m1.equals(m1));

   3 | assertTrue(m1.equals(m1));
   10 | assertTrue(m1.equals(m2));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   m1 | m2 | VARIABLE_NAME_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m2
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   10

       assertTrue(m1.equals(m2));

   4

       assertTrue(m1.equals(m2));

   4 | assertTrue(m1.equals(m2));
   12 | assertFalse(m1.equals(m2));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   assertTrue | assertFalse | METHOD_INVOCATION_NAME_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized

   Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   12

       assertFalse(m1.equals(m2));

   5

       assertFalse(m1.equals(null));

   5 | assertFalse(m1.equals(null));
   5 | assertFalse(m1.equals(null));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   5

       assertFalse(m1.equals(null));

   6

       assertFalse(m1.equals("ABC"));

   6 | assertFalse(m1.equals("ABC"));
   6 | assertFalse(m1.equals("ABC"));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   6

       assertFalse(m1.equals("ABC"));

   7

       m1.put("K1", Color.red);

   7 | m1.put("K1", Color.red);
   18 | assertTrue(m1.equals(m2));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   put | assertTrue | METHOD_INVOCATION_NAME_MISMATCH
   m1.put("K1",Color.red) | assertTrue(m1.equals(m2)) | ARGUMENT_NUMBER_MISMATCH
   m1 |  | MISSING_METHOD_INVOCATION_EXPRESSION

   Preondition Violations
   Expression m1.put("K1",Color.red) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression m1.put("K1",Color.red) is a void method call, and thus it cannot be parameterized
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression m1.put("K1",Color.red) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression m1.put("K1",Color.red) is a void method call, and thus it cannot be parameterized
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized

   18

       assertTrue(m1.equals(m2));

   8

       assertFalse(m1.equals(m2));

   8 | assertFalse(m1.equals(m2));
   8 | assertFalse(m1.equals(m2));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   8

       assertFalse(m1.equals(m2));

   9

       m2.put("K1", Color.red);

   9 | m2.put("K1", Color.red);

   Preondition Violations
   Unmatched statement m2.put("K1",Color.red); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted

   10

       assertTrue(m1.equals(m2));

   10 | assertTrue(m1.equals(m2));
   3 | assertTrue(m1.equals(m1));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   m2 | m1 | VARIABLE_NAME_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   3

       assertTrue(m1.equals(m1));

   9 | m2.put("K1", new BasicStroke(1.1f));

   Preondition Violations
   Unmatched statement m2.put("K1",new BasicStroke(1.1f)); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted

   9

       m2.put("K1", new BasicStroke(1.1f));

   13 | m2.put("K2", new BasicStroke(2.2f));

   Preondition Violations
   Unmatched statement m2.put("K2",new BasicStroke(2.2f)); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted

   13

       m2.put("K2", new BasicStroke(2.2f));

   11

       m1.put("K2", new GradientPaint(1.0f, 2.0f, Color.green, 3.0f, 4.0f, Color.yellow));

   11 | m1.put("K2", new GradientPaint(1.0f, 2.0f, Color.green, 3.0f, 4.0f, Color.yellow));
   14 | assertTrue(m1.equals(m2));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   put | assertTrue | METHOD_INVOCATION_NAME_MISMATCH
   m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) | assertTrue(m1.equals(m2)) | ARGUMENT_NUMBER_MISMATCH
   m1 |  | MISSING_METHOD_INVOCATION_EXPRESSION

   Preondition Violations
   Expression m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) is a void method call, and thus it cannot be parameterized
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) is a void method call, and thus it cannot be parameterized
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized

   14

       assertTrue(m1.equals(m2));

   12

       assertFalse(m1.equals(m2));

   12 | assertFalse(m1.equals(m2));
   4 | assertTrue(m1.equals(m2));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   assertFalse | assertTrue | METHOD_INVOCATION_NAME_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations
   Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized

   Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   4

       assertTrue(m1.equals(m2));

   13

       m2.put("K2", new GradientPaint(1.0f, 2.0f, Color.green, 3.0f, 4.0f, Color.yellow));

   13 | m2.put("K2", new GradientPaint(1.0f, 2.0f, Color.green, 3.0f, 4.0f, Color.yellow));

   Preondition Violations
   Unmatched statement m2.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted

   14

       assertTrue(m1.equals(m2));

   14 | assertTrue(m1.equals(m2));
   16 | assertFalse(m1.equals(m2));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   assertTrue | assertFalse | METHOD_INVOCATION_NAME_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized

   Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   16

       assertFalse(m1.equals(m2));

   15

       m1.put("K2", null);

   15 | m1.put("K2", null);
   15 | m1.put("K2", null);

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   15

       m1.put("K2", null);

   16

       assertFalse(m1.equals(m2));

   16 | assertFalse(m1.equals(m2));
   11 | m1.put("K2", new BasicStroke(2.2f));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   assertFalse | put | METHOD_INVOCATION_NAME_MISMATCH
   assertFalse(m1.equals(m2)) | m1.put("K2",new BasicStroke(2.2f)) | ARGUMENT_NUMBER_MISMATCH
   | m1 | MISSING_METHOD_INVOCATION_EXPRESSION

   Preondition Violations
   Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression m1.put("K2",new BasicStroke(2.2f)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression m1.put("K2",new BasicStroke(2.2f)) is a void method call, and thus it cannot be parameterized
   Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression m1.put("K2",new BasicStroke(2.2f)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression m1.put("K2",new BasicStroke(2.2f)) is a void method call, and thus it cannot be parameterized

   11

       m1.put("K2", new BasicStroke(2.2f));

   17

       m2.put("K2", null);

   17 | m2.put("K2", null);
   17 | m2.put("K2", null);

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.PaintMap | org.jfree.chart.StrokeMap | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   - Make classes org.jfree.chart.PaintMap and org.jfree.chart.StrokeMap extend a common superclass

   17

       m2.put("K2", null);

   18

       assertTrue(m1.equals(m2));

   18 | assertTrue(m1.equals(m2));
   7 | m1.put("K1", new BasicStroke(1.1f));

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   assertTrue | put | METHOD_INVOCATION_NAME_MISMATCH
   assertTrue(m1.equals(m2)) | m1.put("K1",new BasicStroke(1.1f)) | ARGUMENT_NUMBER_MISMATCH
   | m1 | MISSING_METHOD_INVOCATION_EXPRESSION

   Preondition Violations
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression m1.put("K1",new BasicStroke(1.1f)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression m1.put("K1",new BasicStroke(1.1f)) is a void method call, and thus it cannot be parameterized
   Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression m1.put("K1",new BasicStroke(1.1f)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   Expression m1.put("K1",new BasicStroke(1.1f)) is a void method call, and thus it cannot be parameterized

   7

       m1.put("K1", new BasicStroke(1.1f));

   Precondition Violations (64)
   Row | Violation
   --- | ---
   1 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m2
   2 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   3 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   4 | Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   5 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   6 | Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   7 | Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   8 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   9 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   10 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   11 | Expression m1.put("K1",Color.red) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   12 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   13 | Expression m1.put("K1",Color.red) is a void method call, and thus it cannot be parameterized
   14 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   15 | Expression m1.put("K1",Color.red) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   16 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   17 | Expression m1.put("K1",Color.red) is a void method call, and thus it cannot be parameterized
   18 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   19 | Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   20 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   21 | Unmatched statement m2.put("K1",Color.red); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
   22 | Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m1
   23 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   24 | Unmatched statement m2.put("K1",new BasicStroke(1.1f)); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
   25 | Unmatched statement m2.put("K2",new BasicStroke(2.2f)); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
   26 | Expression m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   27 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   28 | Expression m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) is a void method call, and thus it cannot be parameterized
   29 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   30 | Expression m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   31 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   32 | Expression m1.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)) is a void method call, and thus it cannot be parameterized
   33 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   34 | Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   35 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   36 | Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   37 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   38 | Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   39 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   40 | Unmatched statement m2.put("K2",new GradientPaint(1.0f,2.0f,Color.green,3.0f,4.0f,Color.yellow)); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
   41 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   42 | Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   43 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   44 | Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   45 | Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   46 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   47 | Type org.jfree.chart.PaintMap of variable m1 does not match with type org.jfree.chart.StrokeMap of variable m1
   48 | Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   49 | Expression m1.put("K2",new BasicStroke(2.2f)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   50 | Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   51 | Expression m1.put("K2",new BasicStroke(2.2f)) is a void method call, and thus it cannot be parameterized
   52 | Expression assertFalse(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   53 | Expression m1.put("K2",new BasicStroke(2.2f)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   54 | Expression assertFalse(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   55 | Expression m1.put("K2",new BasicStroke(2.2f)) is a void method call, and thus it cannot be parameterized
   56 | Type org.jfree.chart.PaintMap of variable m2 does not match with type org.jfree.chart.StrokeMap of variable m2
   57 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   58 | Expression m1.put("K1",new BasicStroke(1.1f)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   59 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   60 | Expression m1.put("K1",new BasicStroke(1.1f)) is a void method call, and thus it cannot be parameterized
   61 | Expression assertTrue(m1.equals(m2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   62 | Expression m1.put("K1",new BasicStroke(1.1f)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
   63 | Expression assertTrue(m1.equals(m2)) is a void method call, and thus it cannot be parameterized
   64 | Expression m1.put("K1",new BasicStroke(1.1f)) is a void method call, and thus it cannot be parameterized