String getURL() { return getPropertyAsString(URL); } public synchronized void setURL(String url) { setProperty(URL, url); } public synchronized 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); } /** * The X data labels should be either the filename, date or some * other series of values * @param label */ public void setXLabel(String label) { setProperty(REPORT_CHART_X_LABEL,label); } public String getYLabel() { return getPropertyAsString(REPORT_CHART_Y_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 getURL() {
1
String getYAxis() {
2
		return getPropertyAsString(URL);
2
    	return getPropertyAsString(
3
	}
4
	public synchronized
3
REPORT_CHART_Y_AXIS);
4
    }
5
    
5
 void setURL(String url) {
6
    public void setYAxis(String scale) {
6
		setProperty(URL, url);
7
    	setProperty(
7
	
8
REPORT_CHART_Y_AXIS,scale);
8
}
9
    }
9
	public synchronized String getUser() {
10
    public String getXLabel() {
10
		return getPropertyAsString(USERNAME);
11
    	return getPropertyAsString(
11
	}
12
	public synchronized
12
REPORT_CHART_X_LABEL);
13
    }
14
    
15
    /**
16
     * The X data labels should be either the filename, date or some
17
     * other series of values
18
     * @param label
19
     */
13
 void setUser(String user) {
20
    public void setXLabel(String label) {
14
		setProperty(USERNAME, user);
21
    	setProperty(
15
	}
16
	public synchronized
22
REPORT_CHART_X_LABEL,label);
23
    }
24
    
17
 String getPass() {
25
    public String getYLabel() {
18
		return getPropertyAsString(PASSWORD);
26
    	return getPropertyAsString(
19
	
27
REPORT_CHART_Y_LABEL);
20
}
28
    }
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