String getReceiveQueue() { return getPropertyAsString(RECEIVE_QUEUE); } public void setReceiveQueue(String name) { setProperty(RECEIVE_QUEUE, name); } public String getContent() { return getPropertyAsString(XML_DATA); } public void setContent(String content) { setProperty(XML_DATA, content); }
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); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/JMSSampler.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
String getReceiveQueue() {
1
String getYAxis() {
2
		return getPropertyAsString(RECEIVE_QUEUE);
2
    	return getPropertyAsString(RE
3
	}
4
	
3
PORT_CHART_Y_AXIS);
4
    }
5
    
5
public void setReceiveQueue(String name) {
6
    public void setYAxis(String scale) {
6
		setProperty(RECEIVE_QUEUE, name);
7
    	setProperty(REPORT_CHART_Y_AXIS,scale);
7
	}
8
    }
8
	public String getContent() {
9
    public String getXLabel() {
9
		return getPropertyAsString(XML_DATA);
10
    	return getPropertyAsString(
10
	}
11
	
11
REPORT_CHART_X_LABEL);
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
     */
12
public void setContent(String content) {
19
    public void setXLabel(String label) {
13
		setProperty(XML_DATA, content);
20
    	setProperty(
14
	
21
REPORT_CHART_X_LABEL,label);
15
}
22
    }
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