dataset.add(new BoxAndWhiskerItem(new Double(1.0), new Double(2.0), new Double(3.0), new Double(4.0), new Double(0.5), new Double(4.5), new Double(-0.5), null, new java.util.ArrayList()), "S1", "C1");
d1.add(new BoxAndWhiskerItem(new Double(1.0), new Double(2.0), new Double(3.0), new Double(4.0), new Double(5.0), new Double(6.0), new Double(7.0), new Double(8.0), new ArrayList()), "ROW1", "COLUMN1");
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/renderer/category/junit/BoxAndWhiskerRendererTests.java File path: /jfreechart-1.0.10/tests/org/jfree/data/statistics/junit/DefaultBoxAndWhiskerCategoryDatasetTests.java
Method name: void testDrawWithNullMaxOutlier() Method name: void testSerialization()
Number of AST nodes: 1 Number of AST nodes: 1
1
dataset.add(new BoxAndWhiskerItem(new Double(1.0), new Double(2.0),
1
d1.add(new BoxAndWhiskerItem(new Double(1.0), new Double(2.0),
2
 
2
 
3
                   new Double(3.0), new Double(4.0), new Double(0.5),
3
                new Double(3.0), new Double(4.0), new Double(5.0), 
4
                    new Double(4.5), new Double(-0.5), null,
4
                new Double(6.0), new Double(
5
    
5
7.0), new Double(8.0),
6
                new java.util.ArrayList()), "S1", "C1");
6
                new ArrayList()), "ROW1", "COLUMN1");
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
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 comparisons1
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements1
    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
    4
    dataset.add(new BoxAndWhiskerItem(new Double(1.0), new Double(2.0), new Double(3.0), new Double(4.0), new Double(0.5), new Double(4.5), new Double(-0.5), null, new java.util.ArrayList()), "S1", "C1");
    4
    dataset.add(new BoxAndWhiskerItem(new Double(1.0), new Double(2.0), new Double(3.0), new Double(4.0), new Double(0.5), new Double(4.5), new Double(-0.5), null, new java.util.ArrayList()), "S1", "C1");
    2
    d1.add(new BoxAndWhiskerItem(new Double(1.0), new Double(2.0), new Double(3.0), new Double(4.0), new Double(5.0), new Double(6.0), new Double(7.0), new Double(8.0), new ArrayList()), "ROW1", "COLUMN1");
    Differences
    Expression1Expression2Difference
    0.55.0LITERAL_VALUE_MISMATCH
    4.56.0LITERAL_VALUE_MISMATCH
    -0.57.0TYPE_COMPATIBLE_REPLACEMENT
    nullnew Double(8.0)TYPE_COMPATIBLE_REPLACEMENT
    java.util.ArrayListArrayListTYPE_COMPATIBLE_REPLACEMENT
    "S1""ROW1"LITERAL_VALUE_MISMATCH
    "C1""COLUMN1"LITERAL_VALUE_MISMATCH
    datasetd1VARIABLE_NAME_MISMATCH
    2
    d1.add(new BoxAndWhiskerItem(new Double(1.0), new Double(2.0), new Double(3.0), new Double(4.0), new Double(5.0), new Double(6.0), new Double(7.0), new Double(8.0), new ArrayList()), "ROW1", "COLUMN1");
    Precondition Violations (0)
    Row Violation