File path: /jfreechart-1.0.10/experimental/org/jfree/experimental/chart/renderer/xy/XYSmoothLineAndShapeRenderer.java | File path: /jfreechart-1.0.10/experimental/org/jfree/experimental/chart/renderer/xy/XYSmoothLineAndShapeRenderer.java | |||
Method name: void getControlPoints(Point2D.Double, Point2D.Double, Point2D.Double, Point2D.Double, Point2D.Double, Point2D.Double, double)
|
Method name: void getControlPoints(Point2D.Double, Point2D.Double, Point2D.Double, Point2D.Double, Point2D.Double, Point2D.Double, double)
|
|||
Number of AST nodes: 1 | Number of AST nodes: 1 | |||
1 | control1.setLocation(new Point2D.Double(↵ | 1 | control2.setLocation(new Point2D.Double(↵ | |
2 | m1.x + (c2.x - m1.x) * smooth + point1.x - m1.x,↵ | 2 | m2.x + (c2.x - m2.x) * smooth + point2.x - m2.x,↵ | |
3 | m1.y + (c2.y - m1.y) * smooth + point1.y - m1.y)); | 3 | m2.y + (c2.y - m2.y) * smooth + point2.y - m2.y)); | |
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.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 1 |
Number of mapped statements | 1 |
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) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15 | control1.setLocation(new Point2D.Double(m1.x + (c2.x - m1.x) * smooth + point1.x - m1.x, m1.y + (c2.y - m1.y) * smooth + point1.y - m1.y)); |
| 16 | control2.setLocation(new Point2D.Double(m2.x + (c2.x - m2.x) * smooth + point2.x - m2.x, m2.y + (c2.y - m2.y) * smooth + point2.y - m2.y)); |
Row | Violation |
---|