void setDomain(String domain) { setProperty(DOMAIN, domain); } public synchronized String getRealm() { return getPropertyAsString(REALM); } public synchronized void setRealm(String realm) { setProperty(REALM, realm); }
void setXAxis(String field) { setProperty(REPORT_CHART_X_AXIS,field); } public String getYAxis() { return getPropertyAsString(REPORT_CHART_Y_AXIS); } public void setYAxis(String scale) { setProperty(REPORT_CHART_Y_AXIS,scale); }
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
void setDomain(String domain) {
1
void setXAxis(String field) {
2
		setProperty(DOMAIN, domain);
2
    	setProperty(
3
	}
4
	public synchronized
3
REPORT_CHART_X_AXIS,field);
4
    }
5
    
5
 String getRealm() {
6
    public String getYAxis() {
6
		return getPropertyAsString(REALM);
7
    	return getPropertyAsString(RE
7
	}
8
	public synchronized
8
PORT_CHART_Y_AXIS);
9
    }
10
    
9
 void setRealm(String realm) {
11
    public void setYAxis(String scale) {
10
		setProperty(REALM, realm);
12
    	setProperty(REPORT_CHART_Y_AXIS,scale);
11
	}
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