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