if (orient == PlotOrientation.VERTICAL) { x = domainAxis.java2DToValue(anchor.getX(), dataArea, getDomainAxisEdge()); } else { x = domainAxis.java2DToValue(anchor.getY(), dataArea, getDomainAxisEdge()); }
if (orient == PlotOrientation.VERTICAL) { y = rangeAxis.java2DToValue(anchor.getY(), dataArea, getRangeAxisEdge()); } else { y = rangeAxis.java2DToValue(anchor.getX(), dataArea, getRangeAxisEdge()); }
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.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
if (orient == PlotOrientation.VERTICAL) {
1
if (orient == PlotOrientation.VERTICAL) {
2
                    x = domainAxis.java2DToValue(anchor.getX(), dataArea,
2
                    y = rangeAxis.java2DToValue(anchor.getY(), dataArea,
3
                            getDomainAxisEdge());
3
                            getRangeAxisEdge());
4
                }
4
                }
5
                else {
5
                else {
6
                    x = domainAxis.java2DToValue(anchor.getY(), dataArea,
6
                    y = rangeAxis.java2DToValue(anchor.getX(), dataArea,
7
                            getDomainAxisEdge());
7
                            getRangeAxisEdge());
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