File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYBoxAndWhiskerRenderer.java | File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYBoxAndWhiskerRenderer.java | |||
Method name: void drawHorizontalItem(Graphics2D, Rectangle2D, PlotRenderingInfo, XYPlot, ValueAxis, ValueAxis, XYDataset, int, int, CrosshairState, int)
|
Method name: void drawVerticalItem(Graphics2D, Rectangle2D, PlotRenderingInfo, XYPlot, ValueAxis, ValueAxis, XYDataset, int, int, CrosshairState, int)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | if (yyQ1Median < yyQ3Median) {↵ | 1 | if (yyQ1Median > yyQ3Median) {↵ | |
2 | box = new Rectangle2D.Double(yyQ1Median, xx - width / 2, ↵ | 2 | box = new Rectangle2D.Double(xx - width / 2, yyQ3Median, width, ↵ | |
3 | yyQ3Median - yyQ1Median, width);↵ | 3 | yyQ1Median - yyQ3Median);↵ | |
4 | }↵ | 4 | }↵ | |
5 | else {↵ | 5 | else {↵ | |
6 | box = new Rectangle2D.Double(yyQ3Median, xx - width / 2, ↵ | 6 | box = new Rectangle2D.Double(xx - width / 2, yyQ1Median, width, ↵ | |
7 | yyQ1Median - yyQ3Median, width);↵ | 7 | yyQ3Median - yyQ1Median);↵ | |
8 | } | 8 |
| |
See real code fragment | See real code fragment |
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.1 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 1 |