String getUser() { return getPropertyAsString(USERNAME); } public synchronized void setUser(String user) { setProperty(USERNAME, user); } public synchronized String getPass() { return getPropertyAsString(PASSWORD); }
String getYAxis() { return getPropertyAsString(REPORT_CHART_Y_AXIS); } public void setYAxis(String scale) { setProperty(REPORT_CHART_Y_AXIS,scale); } public String getXLabel() { return getPropertyAsString(REPORT_CHART_X_LABEL); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Authorization.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/AbstractChart.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getUser() {
1
String getYAxis() {
2
		return getPropertyAsString(USERNAME);
2
    	return getPropertyAsString(
3
	}
4
	public synchronized
3
REPORT_CHART_Y_AXIS);
4
    }
5
    
5
 void setUser(String user) {
6
    public void setYAxis(String scale) {
6
		setProperty(USERNAME, user);
7
    	setProperty(
7
	
8
REPORT_CHART_Y_AXIS,scale);
8
}
9
    }
9
	public synchronized String getPass() {
10
    public String getXLabel() {
10
		return getPropertyAsString(PASSWORD);
11
    	return getPropertyAsString(
11
	
12
REPORT_CHART_X_LABEL);
12
}
13
    }
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