if (orientation == PlotOrientation.VERTICAL) {
this.pArea.addPoint((int) transX1, (int) transY2);
}
else if (orientation == PlotOrientation.HORIZONTAL) {
this.pArea.addPoint((int) transY2, (int) transX1);
if (orientation == PlotOrientation.VERTICAL) {
this.pArea.addPoint((int) transX1, (int) transY0);
}
else if (orientation == PlotOrientation.HORIZONTAL) {
this.pArea.addPoint((int) transY0, (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 | this.pArea.addPoint((int) transX1, (int) transY2);↵ | | 2 | this.pArea.addPoint((int) transX1, (int) transY0);↵
|
3 | }↵ | | 3 | }↵
|
4 | else if (orientation == PlotOrientation.HORIZONTAL) {↵ | | 4 | else if (orientation == PlotOrientation.HORIZONTAL) {↵
|
5 | this.pArea.addPoint((int) transY2, (int) transX1);↵ | | 5 | this.pArea.addPoint((int) transY0, (int) transX1);↵
|
6 | | | 6 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |