1421-1-2

if (value0 <= value1) { if (!rangeAxis.getRange().intersects(value0, value1)) { return; } } else { if (!rangeAxis.getRange().intersects(value1, value0)) { return;
if (startX <= endX) { if (!domainAxis.getRange().intersects(startX, endX)) { return; } } else { if (!domainAxis.getRange().intersects(endX, startX)) { return;

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYBarRenderer.java |  | File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYBarRenderer.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    if (value0 <= value1) {↵

1

    if (startX <= endX) {↵

2

                if (!rangeAxis.getRange().intersects(value0, value1)) {↵

2

                if (!domainAxis.getRange().intersects(startX, endX)) {↵

3

                    return;↵

3

                    return;↵

4

                }↵

4

                }↵

5

            }↵

5

            }↵

6

            else {↵

6

            else {↵

7

                if (!rangeAxis.getRange().intersects(value1, value0)) {↵

7

                if (!domainAxis.getRange().intersects(endX, startX)) {↵

8

                    return;↵

8

                    return;↵

9

9

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