File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/DeviationRenderer.java | File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYLineAndShapeRenderer.java | |||
Method name: void drawItem(Graphics2D, XYItemRendererState, Rectangle2D, PlotRenderingInfo, XYPlot, ValueAxis, ValueAxis, XYDataset, int, int, CrosshairState, int)
|
Method name: void drawItem(Graphics2D, XYItemRendererState, Rectangle2D, PlotRenderingInfo, XYPlot, ValueAxis, ValueAxis, XYDataset, int, int, CrosshairState, int)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | EntityCollection entities = null;↵ | 1 | EntityCollection entities = null;↵ | |
2 | if (info != null) {↵ | 2 | if (info != null) {↵ | |
3 | entities = info.getOwner().getEntityCollection();↵ | 3 | entities = info.getOwner().getEntityCollection();↵ | |
4 | }↵ | 4 | }↵ | |
5 | drawSecondaryPass(g2, plot, dataset, pass, series, item,↵ | 5 | drawSecondaryPass(g2, plot, dataset, pass, series, item,↵ | |
6 | domainAxis, dataArea, rangeAxis, crosshairState, entities); | 6 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.2 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 9 |
Number of mapped statements | 4 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 1.3 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
50 | EntityCollection entities = null; | 14 | EntityCollection entities = null; | |
51 | if (info != null) | 15 | if (info != null) | |
52 | entities = info.getOwner().getEntityCollection(); | 16 | entities = info.getOwner().getEntityCollection(); | |
53 | drawSecondaryPass(g2, plot, dataset, pass, series, item, domainAxis, dataArea, rangeAxis, crosshairState, entities); | 17 | drawSecondaryPass(g2, plot, dataset, pass, series, item, domainAxis, dataArea, rangeAxis, crosshairState, entities); |
Row | Violation |
---|