else if (w == LengthConstraintType.RANGE) { if (h == LengthConstraintType.NONE) { return arrangeRN(container, g2, constraint); } else if (h == LengthConstraintType.FIXED) { return arrangeRF(container, g2, constraint); } else if (h == LengthConstraintType.RANGE) { return arrangeRR(container, g2, constraint);
else if (w == LengthConstraintType.RANGE) { if (h == LengthConstraintType.NONE) { return arrangeRN(container, g2, constraint); } else if (h == LengthConstraintType.FIXED) { return arrangeRF(container, g2, constraint); } else if (h == LengthConstraintType.RANGE) { return arrangeRR(container, g2, constraint);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/block/CenterArrangement.java File path: /jfreechart-1.0.10/src/org/jfree/chart/block/FlowArrangement.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
else if (w == LengthConstraintType.RANGE) {
1
else if (w == LengthConstraintType.RANGE) {
2
            if (h == LengthConstraintType.NONE) {
2
            if (h == LengthConstraintType.NONE) {
3
                return arrangeRN(container, g2, constraint);  
3
                return arrangeRN(container, g2, constraint);  
4
            }
4
            }
5
            else if (h == LengthConstraintType.FIXED) {
5
            else if (h == LengthConstraintType.FIXED) {
6
                return arrangeRF(container, g2, constraint);  
6
                return arrangeRF(container, g2, constraint);  
7
            }
7
            }
8
            else if (h == LengthConstraintType.RANGE) {
8
            else if (h == LengthConstraintType.RANGE) {
9
                return arrangeRR(container, g2, constraint);   
9
                return arrangeRR(container, g2, constraint);   
10
            
10
            
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0