else if (location == AxisLocation.BOTTOM_OR_RIGHT) { if (orientation == PlotOrientation.HORIZONTAL) { result = RectangleEdge.RIGHT; } else if (orientation == PlotOrientation.VERTICAL) { result = RectangleEdge.BOTTOM; } } else if (location == AxisLocation.BOTTOM_OR_LEFT) { if (orientation == PlotOrientation.HORIZONTAL) { result = RectangleEdge.LEFT; } else if (orientation == PlotOrientation.VERTICAL) { result = RectangleEdge.BOTTOM;
else if (location == AxisLocation.BOTTOM_OR_RIGHT) { if (orientation == PlotOrientation.HORIZONTAL) { result = RectangleEdge.BOTTOM; } else if (orientation == PlotOrientation.VERTICAL) { result = RectangleEdge.RIGHT; } } else if (location == AxisLocation.BOTTOM_OR_LEFT) { if (orientation == PlotOrientation.HORIZONTAL) { result = RectangleEdge.BOTTOM; } else if (orientation == PlotOrientation.VERTICAL) { result = RectangleEdge.LEFT;
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/Plot.java File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/Plot.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
else if (location == AxisLocation.BOTTOM_OR_RIGHT) {
1
else if (location == AxisLocation.BOTTOM_OR_RIGHT) {
2
            if (orientation == PlotOrientation.HORIZONTAL) {
2
            if (orientation == PlotOrientation.HORIZONTAL) {
3
                result = RectangleEdge.RIGHT;
3
                result = RectangleEdge.BOTTOM;
4
            }
4
            }
5
            else if (orientation == PlotOrientation.VERTICAL) {
5
            else if (orientation == PlotOrientation.VERTICAL) {
6
                result = RectangleEdge.BOTTOM;
6
                result = RectangleEdge.RIGHT;
7
            }
7
            }
8
        }
8
        }
9
        else if (location == AxisLocation.BOTTOM_OR_LEFT) {
9
        else if (location == AxisLocation.BOTTOM_OR_LEFT) {
10
            if (orientation == PlotOrientation.HORIZONTAL) {
10
            if (orientation == PlotOrientation.HORIZONTAL) {
11
                result = RectangleEdge.LEFT;
11
                result = RectangleEdge.BOTTOM;
12
            }
12
            }
13
            else if (orientation == PlotOrientation.VERTICAL) {
13
            else if (orientation == PlotOrientation.VERTICAL) {
14
                result = RectangleEdge.BOTTOM;
14
                result = RectangleEdge.LEFT;
15
            
15
            
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