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); }
String getValue() { return getPropertyAsString(VALUE); } /** * set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value); } /** * get the domain for this object. */ public synchronized String getDomain() { return getPropertyAsString(DOMAIN); } /** * set the domain for this object. */ public synchronized void setDomain(String domain) { setProperty(DOMAIN, domain); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/AbstractChart.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Cookie.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getYAxis() {
1
String getValue() {
2
    	return getPropertyAsString(REPORT_CHART_Y_AXIS);
2
		return getPropertyAsString(
3
    }
4
    
5
    public
3
VALUE);
4
	}
5
	/**
6
	 * set the value for this object.
7
	 */
6
 void setYAxis(String scale) {
8
	public synchronized void setValue(String value) {
7
    	setProperty(REPORT_CHART_Y_AXIS,scale);
9
		this.setProperty(VALUE, value);
8
    }
10
	}
9
    public
11
	/**
12
	 * get the domain for this object.
13
	 */
10
 String getXLabel() {
14
	public synchronized String getDomain() {
11
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
15
		return getPropertyAsString(
12
    }
13
    
14
    /**
15
     * The X data labels should be either the filename, date or some
16
     * other series of values
17
     * @param label
18
    
16
DOMAIN);
17
	}
18
	/**
19
	 * set the domain for this object.
19
 */
20
	 */
20
    public void setXLabel(String label) {
21
	public synchronized void setDomain(String domain) {
21
    	setProperty(REPORT_CHART_X_LABEL,label);
22
		setProperty(
22
    
23
DOMAIN, domain);
23
}
24
	}
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