else if (orientation == PlotOrientation.VERTICAL) { double y0 = axis.valueToJava2D(value, adjusted, plot.getRangeAxisEdge()); double y1 = y0 - getYOffset(); double x0 = dataArea.getMinX(); double x1 = x0 + getXOffset(); double x2 = dataArea.getMaxX(); line1 = new Line2D.Double(x0, y0, x1, y1); line2 = new Line2D.Double(x1, y1, x2, y1);
else if (orientation == PlotOrientation.VERTICAL) { double y0 = axis.valueToJava2D(value, adjusted, plot.getRangeAxisEdge()); double y1 = y0 - getYOffset(); double x0 = dataArea.getMinX(); double x1 = x0 + getXOffset(); double x2 = dataArea.getMaxX(); line1 = new Line2D.Double(x0, y0, x1, y1); line2 = new Line2D.Double(x1, y1, x2, y1);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/category/BarRenderer3D.java File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LineRenderer3D.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
else if (orientation == PlotOrientation.VERTICAL) {
1
else if (orientation == PlotOrientation.VERTICAL) {
2
            double y0 = axis.valueToJava2D(value, adjusted,
2
            double y0 = axis.valueToJava2D(value, adjusted,
3
                    plot.getRangeAxisEdge());
3
                    plot.getRangeAxisEdge());
4
            double y1 = y0 - getYOffset();
4
            double y1 = y0 - getYOffset();
5
            double x0 = dataArea.getMinX();
5
            double x0 = dataArea.getMinX();
6
            double x1 = x0 + getXOffset();
6
            double x1 = x0 + getXOffset();
7
            double x2 = dataArea.getMaxX();
7
            double x2 = dataArea.getMaxX();
8
            line1 = new Line2D.Double(x0, y0, x1, y1);
8
            line1 = new Line2D.Double(x0, y0, x1, y1);
9
            line2 = new Line2D.Double(x1, y1, x2, y1);
9
            line2 = new Line2D.Double(x1, y1, x2, y1);
10
        
10
        
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0