if (orientation == PlotOrientation.VERTICAL) { usableSize = adjustedPlotArea.getWidth() - this.gap * (n - 1); } else if (orientation == PlotOrientation.HORIZONTAL) { usableSize = adjustedPlotArea.getHeight() - this.gap * (n - 1);
if (orientation == PlotOrientation.VERTICAL) { usableSize = adjustedPlotArea.getWidth() - this.gap * (n - 1); } else if (orientation == PlotOrientation.HORIZONTAL) { usableSize = adjustedPlotArea.getHeight() - this.gap * (n - 1);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedRangeCategoryPlot.java File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedRangeXYPlot.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (orientation == PlotOrientation.VERTICAL) {
1
if (orientation == PlotOrientation.VERTICAL) {
2
            usableSize = adjustedPlotArea.getWidth() - this.gap * (n - 1);
2
            usableSize = adjustedPlotArea.getWidth() - this.gap * (n - 1);
3
        }
3
        }
4
        else if (orientation == PlotOrientation.HORIZONTAL) {
4
        else if (orientation == PlotOrientation.HORIZONTAL) {
5
            usableSize = adjustedPlotArea.getHeight() - this.gap * (n - 1);
5
            usableSize = adjustedPlotArea.getHeight() - this.gap * (n - 1);
6
        
6
        
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