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);
String getScript() { return this.getPropertyAsString(SCRIPT); } public void setScript(String newScript) { this.setProperty(SCRIPT, newScript); } public String getParameters() { return this.getPropertyAsString(PARAMETERS);
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/java/sampler/BSFSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getXLabel() {
1
String getScript() {
2
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
2
		return this.getPropertyAsString(
3
    }
4
    
5
    /**
6
     * The X data labels should be either the filename, date or some
7
     * other series of values
8
     * @param label
9
     */
10
    
3
SCRIPT);
4
	}
11
public void setXLabel(String label) {
5
	public void setScript(String 
12
    	setProperty(REPORT_CHART_X_LABEL,label);
13
    }
14
    
15
    
6
newScript) {
7
		this.setProperty(SCRIPT, newScript);
8
	}
16
public String getYLabel() {
9
	public String getParameters() {
17
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
10
		return this.getPropertyAsString(
18
    
11
PARAMETERS);
12
	
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