if (orientation == PlotOrientation.VERTICAL) { this.pArea.addPoint((int) transX1, (int) transY0); } else if (orientation == PlotOrientation.HORIZONTAL) { this.pArea.addPoint((int) transY0, (int) transX1);
if (orientation == PlotOrientation.VERTICAL) { // Add the last point (x,0) this.pArea.addPoint((int) transX1, (int) transY2); } else if (orientation == PlotOrientation.HORIZONTAL) { // Add the last point (x,0) this.pArea.addPoint((int) transY2, (int) transX1);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYStepAreaRenderer.java File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYStepAreaRenderer.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
    
2
                // Add the last point (x,0)
3
                this.pArea.addPoint((int) transX1, (int) transY0);
3
                this.pArea.addPoint((int) transX1, (int) transY2);
4
                }
4
            }
5
                else if (orientation == PlotOrientation.HORIZONTAL) {
5
            else if (orientation == PlotOrientation.HORIZONTAL) {
6
    
6
                // Add the last point (x,0)
7
                this.pArea.addPoint((int) transY0, (int) transX1);
7
                this.pArea.addPoint((int) transY2, (int) transX1);
8
                
8
            
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