void setQueueConnectionFactory(String qcf) { setProperty(QUEUE_CONNECTION_FACTORY_JNDI, qcf); } public String getSendQueue() { return getPropertyAsString(SEND_QUEUE); } public void setSendQueue(String name) { setProperty(SEND_QUEUE, name); } public String getReceiveQueue() { return getPropertyAsString(RECEIVE_QUEUE); }
void setXAxis(String field) { setProperty(REPORT_CHART_X_AXIS,field); } public 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); }
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
void setQueueConnectionFactory(String qcf) {
1
void setXAxis(String field) {
2
		setProperty(QUEUE_CONNECTION_FACTORY_JNDI, qcf);
2
    	setProperty(
3
	}
4
	
3
REPORT_CHART_X_AXIS,field);
4
    }
5
    
5
public String getSendQueue() {
6
    public String getYAxis() {
6
		return getPropertyAsString(SEND_QUEUE);
7
    	return getPropertyAsString(
7
	}
8
	
8
REPORT_CHART_Y_AXIS);
9
    }
10
    
9
public void setSendQueue(String name) {
11
    public void setYAxis(String scale) {
10
		setProperty(SEND_QUEUE, name);
12
    	setProperty(REPORT_CHART_Y_AXIS,scale);
11
	}
13
    }
12
	public String getReceiveQueue() {
14
    public String getXLabel() {
13
		return getPropertyAsString(RECEIVE_QUEUE);
15
    	return getPropertyAsString(RE
14
	
16
PORT_CHART_X_LABEL);
15
}
17
    }
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