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 getParameters() { return this.getPropertyAsString(PARAMETERS); } public void setParameters(String newScript) { this.setProperty(PARAMETERS, newScript); } public String getScriptLanguage() { return this.getPropertyAsString(LANGUAGE); }
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 getParameters() {
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
PARAMETERS);
4
	}
11
public void setXLabel(String label) {
5
	public void set
12
    	setProperty(REPORT_CHART_X_LABEL,label);
13
    }
14
    
15
    
6
Parameters(String newScript) {
7
		this.setProperty(PARAMETERS, newScript);
8
	}
16
public String getYLabel() {
9
	public String getScriptLanguage() {
17
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
10
		return this.getPropertyAsString(
18
    
11
LANGUAGE);
19
}
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