GradientPaint gp = new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue); Rectangle2D bounds1 = new Rectangle2D.Double(10.0, 20.0, 30.0, 40.0); ColorBlock b1 = new ColorBlock(gp, 1.0, 2.0); b1.setBounds(bounds1); ColorBlock b2 = null; try { b2 = (ColorBlock) b1.clone(); } catch (CloneNotSupportedException e) { fail(e.toString()); } assertTrue(b1 != b2); assertTrue(b1.getClass() == b2.getClass()); assertTrue(b1.equals(b2)); // check independence bounds1.setRect(1.0, 2.0, 3.0, 4.0); assertFalse(b1.equals(b2)); b2.setBounds(new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0)); assertTrue(b1.equals(b2));
BufferedImage image = new BufferedImage(100, 100, BufferedImage.TYPE_INT_RGB); Graphics2D g2 = image.createGraphics(); ImageTitle t = new ImageTitle(JFreeChart.INFO.getLogo()); Size2D s = t.arrange(g2); assertEquals(102.0, s.getWidth(), EPSILON); assertEquals(102.0, s.getHeight(), EPSILON); t.setPadding(1.0, 2.0, 3.0, 4.0); s = t.arrange(g2); assertEquals(106.0, s.getWidth(), EPSILON); assertEquals(104.0, s.getHeight(), EPSILON); t.setMargin(5.0, 6.0, 7.0, 8.0); s = t.arrange(g2); assertEquals(120.0, s.getWidth(), EPSILON); assertEquals(116.0, s.getHeight(), EPSILON);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/block/junit/ColorBlockTests.java File path: /jfreechart-1.0.10/tests/org/jfree/chart/title/junit/ImageTitleTests.java
Method name: void testCloning() Method name: void testArrangeNN()
Number of AST nodes: 14 Number of AST nodes: 14
1
GradientPaint gp = new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f,
2
                Color.blue);
3
        Rectangle2D bounds1 = new Rectangle2D.Double(10.0, 20.0, 30.0, 40.0);
4
        ColorBlock b1 = new ColorBlock(gp, 1.0, 2.0);
5
        b1.setBounds(bounds1);
6
        ColorBlock b2 = null;
7
        
8
        try {
9
            b2 = (ColorBlock) b1.clone();
10
        }
11
        catch (CloneNotSupportedException e) {
12
            fail(e.toString());
13
        }
14
        assertTrue(b1 != b2);
15
        assertTrue(b1.getClass() == b2.getClass());
16
        assertTrue(b1.equals(b2));
17
        
18
        // check independence
19
        bounds1.setRect(1
1
BufferedImage image = new BufferedImage(100, 100,
2
                BufferedImage.TYPE_INT_RGB);
3
        Graphics2D g2 = image.createGraphics();
4
        ImageTitle t = new ImageTitle(JFreeChart.INFO.getLogo());
5
        Size2D s = t.arrange(g2);
6
        assertEquals(102.0, s.getWidth(), EPSILON);
7
        assertEquals(102.0, s.getHeight(), EPSILON);
8
        t.setPadding(1.0, 2.0, 3.0, 4.0);
9
        s = t.arrange(g2);
10
        assertEquals(106.0, s.getWidth(), EPSILON);
11
        assertEquals(104.0, s.getHeight(), EPSILON);
20
.0, 2.0, 3.0, 4.0);
12
        t.setMargin(5.0, 6.0, 7.0, 8.0);
21
        assertFalse(b1.equals(b2));
13
        s = t.arrange(g2);
22
        b2.setBounds(new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0));
14
        
23
        assertTrue(b1.equals(b2)
15
assertEquals(120.0, s.getWidth(), EPSILON);
24
);
16
        assertEquals(116.0, s.getHeight(), EPSILON);
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 comparisons120
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements9
    Number of unmapped statements in the first code fragment3
    Number of unmapped statements in the second code fragment5
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    GradientPaint gp = new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue);
    1
    GradientPaint gp = new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.blue);
    1
    BufferedImage image = new BufferedImage(100, 100, BufferedImage.TYPE_INT_RGB);
    Differences
    Expression1Expression2Difference
    java.awt.GradientPaintjava.awt.image.BufferedImageSUBCLASS_TYPE_MISMATCH
    gpimageVARIABLE_NAME_MISMATCH
    java.awt.GradientPaintjava.awt.image.BufferedImageSUBCLASS_TYPE_MISMATCH
    java.awt.GradientPaintjava.awt.image.BufferedImageSUBCLASS_TYPE_MISMATCH
    new GradientPaint(1.0f,2.0f,Color.red,3.0f,4.0f,Color.blue)new BufferedImage(100,100,BufferedImage.TYPE_INT_RGB)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression 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 new BufferedImage(100,100,BufferedImage.TYPE_INT_RGB) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression 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 new BufferedImage(100,100,BufferedImage.TYPE_INT_RGB) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    1
    BufferedImage image = new BufferedImage(100, 100, BufferedImage.TYPE_INT_RGB);
                                                                                    
    2
    Graphics2D g2 = image.createGraphics();
    Preondition Violations
    Unmatched statement Graphics2D g2=image.createGraphics(); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    2
    Graphics2D g2 = image.createGraphics();
    2
    Rectangle2D bounds1 = new Rectangle2D.Double(10.0, 20.0, 30.0, 40.0);
    2
    Rectangle2D bounds1 = new Rectangle2D.Double(10.0, 20.0, 30.0, 40.0);
    Preondition Violations
    Unmatched statement Rectangle2D bounds1=new Rectangle2D.Double(10.0,20.0,30.0,40.0); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                                                                                                          
    3
    ColorBlock b1 = new ColorBlock(gp, 1.0, 2.0);
    3
    ColorBlock b1 = new ColorBlock(gp, 1.0, 2.0);
    3
    ImageTitle t = new ImageTitle(JFreeChart.INFO.getLogo());
    Differences
    Expression1Expression2Difference
    org.jfree.chart.block.ColorBlockorg.jfree.chart.title.ImageTitleSUBCLASS_TYPE_MISMATCH
    b1tVARIABLE_NAME_MISMATCH
    org.jfree.chart.block.ColorBlockorg.jfree.chart.title.ImageTitleSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.block.ColorBlockorg.jfree.chart.title.ImageTitleSUBCLASS_TYPE_MISMATCH
    new ColorBlock(gp,1.0,2.0)new ImageTitle(JFreeChart.INFO.getLogo())ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression new ColorBlock(gp,1.0,2.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression new ImageTitle(JFreeChart.INFO.getLogo()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression new ColorBlock(gp,1.0,2.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression new ImageTitle(JFreeChart.INFO.getLogo()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    3
    ImageTitle t = new ImageTitle(JFreeChart.INFO.getLogo());
                                                        
    4
    Size2D s = t.arrange(g2);
    Preondition Violations
    Unmatched statement Size2D s=t.arrange(g2); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    4
    Size2D s = t.arrange(g2);
                                                                                            
    5
    assertEquals(102.0, s.getWidth(), EPSILON);
    4
    b1.setBounds(bounds1);
    4
    b1.setBounds(bounds1);
    11
    t.setMargin(5.0, 6.0, 7.0, 8.0);
    Differences
    Expression1Expression2Difference
    setBoundssetMarginMETHOD_INVOCATION_NAME_MISMATCH
    b1tVARIABLE_NAME_MISMATCH
    org.jfree.chart.block.ColorBlockorg.jfree.chart.title.ImageTitleSUBCLASS_TYPE_MISMATCH
    b1.setBounds(bounds1)t.setMargin(5.0,6.0,7.0,8.0)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression b1.setBounds(bounds1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression t.setMargin(5.0,6.0,7.0,8.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression b1.setBounds(bounds1) is a void method call, and thus it cannot be parameterized
    Expression t.setMargin(5.0,6.0,7.0,8.0) is a void method call, and thus it cannot be parameterized
    Expression b1.setBounds(bounds1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression t.setMargin(5.0,6.0,7.0,8.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression b1.setBounds(bounds1) is a void method call, and thus it cannot be parameterized
    Expression t.setMargin(5.0,6.0,7.0,8.0) is a void method call, and thus it cannot be parameterized
    11
    t.setMargin(5.0, 6.0, 7.0, 8.0);
    5
    ColorBlock b2 = null;
                                                
    8
    assertTrue(b1 != b2);
    8
    assertTrue(b1 != b2);
    6
    assertEquals(102.0, s.getHeight(), EPSILON);
    Differences
    Expression1Expression2Difference
    assertTrueassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertTrue(b1 != b2)assertEquals(102.0,s.getHeight(),EPSILON)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertTrue(b1 != b2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(102.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(b1 != b2) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(102.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    Expression assertTrue(b1 != b2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(102.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(b1 != b2) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(102.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    6
    assertEquals(102.0, s.getHeight(), EPSILON);
                                          
    8
    s = t.arrange(g2);
    Preondition Violations
    Unmatched statement s=t.arrange(g2); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    8
    s = t.arrange(g2);
    9
    assertTrue(b1.getClass() == b2.getClass());
    9
    assertTrue(b1.getClass() == b2.getClass());
    9
    assertEquals(106.0, s.getWidth(), EPSILON);
    Differences
    Expression1Expression2Difference
    assertTrueassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertTrue(b1.getClass() == b2.getClass())assertEquals(106.0,s.getWidth(),EPSILON)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertTrue(b1.getClass() == b2.getClass()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(106.0,s.getWidth(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(b1.getClass() == b2.getClass()) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(106.0,s.getWidth(),EPSILON) is a void method call, and thus it cannot be parameterized
    Expression assertTrue(b1.getClass() == b2.getClass()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(106.0,s.getWidth(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(b1.getClass() == b2.getClass()) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(106.0,s.getWidth(),EPSILON) is a void method call, and thus it cannot be parameterized
    9
    assertEquals(106.0, s.getWidth(), EPSILON);
    10
    assertTrue(b1.equals(b2));
    10
    assertTrue(b1.equals(b2));
    10
    assertEquals(104.0, s.getHeight(), EPSILON);
    Differences
    Expression1Expression2Difference
    assertTrueassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertTrue(b1.equals(b2))assertEquals(104.0,s.getHeight(),EPSILON)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertTrue(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(104.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(104.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    Expression assertTrue(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(104.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(104.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    10
    assertEquals(104.0, s.getHeight(), EPSILON);
    11
    bounds1.setRect(1.0, 2.0, 3.0, 4.0);
    11
    bounds1.setRect(1.0, 2.0, 3.0, 4.0);
    Preondition Violations
    Unmatched statement bounds1.setRect(1.0,2.0,3.0,4.0); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                                              
    12
    assertFalse(b1.equals(b2));
    12
    assertFalse(b1.equals(b2));
    13
    assertEquals(120.0, s.getWidth(), EPSILON);
    Differences
    Expression1Expression2Difference
    assertFalseassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertFalse(b1.equals(b2))assertEquals(120.0,s.getWidth(),EPSILON)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertFalse(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(120.0,s.getWidth(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertFalse(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(120.0,s.getWidth(),EPSILON) is a void method call, and thus it cannot be parameterized
    Expression assertFalse(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(120.0,s.getWidth(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertFalse(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(120.0,s.getWidth(),EPSILON) is a void method call, and thus it cannot be parameterized
    13
    assertEquals(120.0, s.getWidth(), EPSILON);
    13
    b2.setBounds(new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0));
    13
    b2.setBounds(new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0));
    7
    t.setPadding(1.0, 2.0, 3.0, 4.0);
    Differences
    Expression1Expression2Difference
    setBoundssetPaddingMETHOD_INVOCATION_NAME_MISMATCH
    b2tVARIABLE_NAME_MISMATCH
    org.jfree.chart.block.ColorBlockorg.jfree.chart.title.ImageTitleSUBCLASS_TYPE_MISMATCH
    b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0))t.setPadding(1.0,2.0,3.0,4.0)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression t.setPadding(1.0,2.0,3.0,4.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0)) is a void method call, and thus it cannot be parameterized
    Expression t.setPadding(1.0,2.0,3.0,4.0) is a void method call, and thus it cannot be parameterized
    Expression t cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression t.setPadding(1.0,2.0,3.0,4.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0)) is a void method call, and thus it cannot be parameterized
    Expression t.setPadding(1.0,2.0,3.0,4.0) is a void method call, and thus it cannot be parameterized
    7
    t.setPadding(1.0, 2.0, 3.0, 4.0);
                                            
    12
    s = t.arrange(g2);
    Preondition Violations
    Unmatched statement s=t.arrange(g2); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    12
    s = t.arrange(g2);
    14
    assertTrue(b1.equals(b2));
    14
    assertTrue(b1.equals(b2));
    14
    assertEquals(116.0, s.getHeight(), EPSILON);
    Differences
    Expression1Expression2Difference
    assertTrueassertEqualsMETHOD_INVOCATION_NAME_MISMATCH
    assertTrue(b1.equals(b2))assertEquals(116.0,s.getHeight(),EPSILON)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression assertTrue(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(116.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(116.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    Expression assertTrue(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertEquals(116.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression assertTrue(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    Expression assertEquals(116.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    14
    assertEquals(116.0, s.getHeight(), EPSILON);
    Precondition Violations (72)
    Row Violation
    1Expression 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
    2Expression new BufferedImage(100,100,BufferedImage.TYPE_INT_RGB) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    3Expression 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
    4Expression new BufferedImage(100,100,BufferedImage.TYPE_INT_RGB) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    5Unmatched statement Graphics2D g2=image.createGraphics(); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    6Unmatched statement Rectangle2D bounds1=new Rectangle2D.Double(10.0,20.0,30.0,40.0); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    7Expression new ColorBlock(gp,1.0,2.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    8Expression new ImageTitle(JFreeChart.INFO.getLogo()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    9Expression new ColorBlock(gp,1.0,2.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    10Expression new ImageTitle(JFreeChart.INFO.getLogo()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    11Unmatched statement Size2D s=t.arrange(g2); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    12Expression b1.setBounds(bounds1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    13Expression t.setMargin(5.0,6.0,7.0,8.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    14Expression b1.setBounds(bounds1) is a void method call, and thus it cannot be parameterized
    15Expression t.setMargin(5.0,6.0,7.0,8.0) is a void method call, and thus it cannot be parameterized
    16Expression b1.setBounds(bounds1) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    17Expression t.setMargin(5.0,6.0,7.0,8.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    18Expression b1.setBounds(bounds1) is a void method call, and thus it cannot be parameterized
    19Expression t.setMargin(5.0,6.0,7.0,8.0) is a void method call, and thus it cannot be parameterized
    20Expression assertTrue(b1 != b2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    21Expression assertEquals(102.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    22Expression assertTrue(b1 != b2) is a void method call, and thus it cannot be parameterized
    23Expression assertEquals(102.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    24Expression assertTrue(b1 != b2) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    25Expression assertEquals(102.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    26Expression assertTrue(b1 != b2) is a void method call, and thus it cannot be parameterized
    27Expression assertEquals(102.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    28Unmatched statement s=t.arrange(g2); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    29Expression assertTrue(b1.getClass() == b2.getClass()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    30Expression assertEquals(106.0,s.getWidth(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    31Expression assertTrue(b1.getClass() == b2.getClass()) is a void method call, and thus it cannot be parameterized
    32Expression assertEquals(106.0,s.getWidth(),EPSILON) is a void method call, and thus it cannot be parameterized
    33Expression assertTrue(b1.getClass() == b2.getClass()) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    34Expression assertEquals(106.0,s.getWidth(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    35Expression assertTrue(b1.getClass() == b2.getClass()) is a void method call, and thus it cannot be parameterized
    36Expression assertEquals(106.0,s.getWidth(),EPSILON) is a void method call, and thus it cannot be parameterized
    37Expression assertTrue(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    38Expression assertEquals(104.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    39Expression assertTrue(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    40Expression assertEquals(104.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    41Expression assertTrue(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    42Expression assertEquals(104.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    43Expression assertTrue(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    44Expression assertEquals(104.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    45Unmatched statement bounds1.setRect(1.0,2.0,3.0,4.0); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    46Expression assertFalse(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    47Expression assertEquals(120.0,s.getWidth(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    48Expression assertFalse(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    49Expression assertEquals(120.0,s.getWidth(),EPSILON) is a void method call, and thus it cannot be parameterized
    50Expression assertFalse(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    51Expression assertEquals(120.0,s.getWidth(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    52Expression assertFalse(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    53Expression assertEquals(120.0,s.getWidth(),EPSILON) is a void method call, and thus it cannot be parameterized
    54Expression b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    55Expression t.setPadding(1.0,2.0,3.0,4.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    56Expression b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0)) is a void method call, and thus it cannot be parameterized
    57Expression t.setPadding(1.0,2.0,3.0,4.0) is a void method call, and thus it cannot be parameterized
    58Expression t cannot be parameterized, because it has dependencies to/from statements that will be extracted
    59Expression b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    60Expression t.setPadding(1.0,2.0,3.0,4.0) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    61Expression b2.setBounds(new Rectangle2D.Double(1.0,2.0,3.0,4.0)) is a void method call, and thus it cannot be parameterized
    62Expression t.setPadding(1.0,2.0,3.0,4.0) is a void method call, and thus it cannot be parameterized
    63Unmatched statement s=t.arrange(g2); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    64Expression assertTrue(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    65Expression assertEquals(116.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    66Expression assertTrue(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    67Expression assertEquals(116.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    68Expression assertTrue(b1.equals(b2)) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    69Expression assertEquals(116.0,s.getHeight(),EPSILON) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    70Expression assertTrue(b1.equals(b2)) is a void method call, and thus it cannot be parameterized
    71Expression assertEquals(116.0,s.getHeight(),EPSILON) is a void method call, and thus it cannot be parameterized
    72Clone fragment #1 returns variables b1 , while Clone fragment #2 returns variables image, t