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); }
String getFilename() { return getPropertyAsString(FILENAME); } public void setFilename(String newFilename) { this.setProperty(FILENAME, newFilename); } public 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 getYAxis() {
1
String getFilename() {
2
    	return getPropertyAsString(REPORT_CHART_Y_AXIS);
2
		return getPropertyAsString(
3
    }
4
    
5
    public void setYAxis(String scale) {
6
    	setProperty(REPORT_CHART_Y_AXIS,scal
3
FILENAME);
4
	}
5
	public void setFilename(String newFilename) {
7
e);
6
		this.setProperty(FILENAME, newFilename);
8
    }
7
	}
9
    public String getXLabel() {
8
	public String getScript() {
10
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
9
		return this.getPropertyAsString(
11
    }
12
    
13
    /**
14
     * The X data labels should be either the filename, date or some
15
     * other series of values
16
     * @param label
17
     */
18
    
10
SCRIPT);
11
	}
19
public void setXLabel(String label) {
12
	public void setScript(String 
20
    	setProperty(REPORT_CHART_X_LABEL,label);
21
    }
22
    
23
    
13
newScript) {
14
		this.setProperty(SCRIPT, newScript);
15
	}
24
public String getYLabel() {
16
	public String getParameters() {
25
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
17
		return this.getPropertyAsString(
26
    
18
PARAMETERS);
27
}
19
	}
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