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); }
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); }
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/jms/sampler/JMSSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setYAxis(String scale) {
1
void setQueueConnectionFactory(String qcf) {
2
    	setProperty(REPORT_CHART_Y_AXIS,scale);
2
		setProperty(
3
    
3
QUEUE_CONNECTION_FACTORY_JNDI, qcf);
4
}
4
	}
5
    public String getXLabel() {
5
	public String getSendQueue() {
6
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
6
		return getPropertyAsString(
7
    }
8
    
9
    /**
10
     * The X data labels should be either the filename, date or some
11
     * other series of values
12
     * @param label
13
     */
14
    
7
SEND_QUEUE);
8
	}
15
public void setXLabel(String label) {
9
	public void setSendQueue(String name) {
16
    	setProperty(REPORT_CHART_X_LABEL,label);
10
		setProperty(
17
    }
18
    
19
    
11
SEND_QUEUE, name);
12
	}
20
public String getYLabel() {
13
	public String getReceiveQueue() {
21
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
14
		return getPropertyAsString(RE
22
    
15
CEIVE_QUEUE);
23
}
16
	}
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