return LOAD_4; } else if (load > 40 && load <= 50) { return LOAD_5; } else if (load > 50 && load <= 60) { return LOAD_6; } else if (load > 60 && load <= 70) { return LOAD_7; } else if (load > 70 && load <= 80) { return LOAD_8; } else if (load > 80 && load <= 90) { return LOAD_9;
return LOAD_1; } else if (load > 10 && load <= 20) { return LOAD_2; } else if (load > 20 && load <= 30) { return LOAD_3; } else if (load > 30 && load <= 40) { return LOAD_4; } else if (load > 40 && load <= 50) { return LOAD_5; } else if (load > 50 && load <= 60) { return LOAD_6;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/ServerPanel.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/ServerPanel.java
Method name: ImageIcon getLoadImageIcon(int) Method name: ImageIcon getLoadImageIcon(int)
Number of AST nodes: 6 Number of AST nodes: 6
1
return LOAD_4;
1
return LOAD_1;
2
		} else if (load > 40 && load <= 50) {
2
		} else if (load > 10 && load <= 20) {
3
			return LOAD_5;
3
			return LOAD_2;
4
		} else if (load > 50 && load <= 60) {
4
		} else if (load > 20 && load <= 30) {
5
			return LOAD_6;
5
			return LOAD_3;
6
		} else if (load > 60 && load <= 70) {
6
		} else if (load > 30 && load <= 40) {
7
			return LOAD_7;
7
			return LOAD_4;
8
		} else if (load > 70 && load <= 80) {
8
		} else if (load > 40 && load <= 50) {
9
			return LOAD_8;
9
			return LOAD_5;
10
		} else if (load > 80 && load <= 90) {
10
		} else if (load > 50 && load <= 60) {
11
			return LOAD_9;
11
			return LOAD_6;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in the same method
Number of node comparisons1
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements1
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    8
    return LOAD_4;
    8
    return LOAD_4;
    2
    return LOAD_1;
    Differences
    Expression1Expression2Difference
    LOAD_4LOAD_1VARIABLE_NAME_MISMATCH
    2
    return LOAD_1;
    Precondition Violations (0)
    Row Violation