for (int i = 0; i < this.domainAxes.size(); i++) { Axis xAxis = (Axis) this.domainAxes.get(i); if (xAxis != null) { RectangleEdge edge = getDomainAxisEdge(i); space = xAxis.reserveSpace(g2, this, plotArea, edge, space);
for (int i = 0; i < this.rangeAxes.size(); i++) { Axis axis = (Axis) this.rangeAxes.get(i); if (axis != null) { RectangleEdge edge = getRangeAxisEdge(i); space = axis.reserveSpace(g2, this, plotArea, edge, space);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
for (int i = 0; i < this.domainAxes.size(); i++) {
1
for (int i = 0; i < this.rangeAxes.size(); i++) {
2
                Axis xAxis = (Axis) this.domainAxes.get(i);
2
                Axis axis = (Axis) this.rangeAxes.get(i);
3
                if (xAxis != null) {
3
                if (axis != null) {
4
                    RectangleEdge edge = getDomainAxisEdge(i);
4
                    RectangleEdge edge = getRangeAxisEdge(i);
5
                    space = xAxis.reserveSpace(g2, this, plotArea, edge, space);
5
                    space = axis.reserveSpace(g2, this, plotArea, edge, space);
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