void setPort(String port) { setProperty(PORT, port); } public String getClassLabel() { return JMeterUtils.getResString("httpmirror_title"); //$NON-NLS-1$ } public int getPort() { return getPropertyAsInt(PORT); } public String getPortString() { return getPropertyAsString(PORT);
void setIncrement(String incr) { setProperty(INCREMENT, incr); } public long getIncrement() { return getPropertyAsLong(INCREMENT); } public String getIncrementAsString() { return getPropertyAsString(INCREMENT);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/HttpMirrorControl.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/modifiers/CounterConfig.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setPort(String port) {
1
void setIncrement(String incr) {
2
		setProperty(PORT, port);
2
		setProperty(INCREMENT, incr);
3
	}
3
	}
4
	
5
	public String getClassLabel() {
4
	public long get
6
		return JMeterUtils.getResString("httpmirror_title"); //$NON-NLS-1$
7
	}
8
	public int getPort() {
5
Increment() {
9
		return getPropertyAsInt(PORT);
6
		return getPropertyAsLong(INCREMENT);
10
	}
7
	}
11
	public String getPortString() {
8
	public String getIncrementAsString() {
12
		return getPropertyAsString(PORT);
9
		return getPropertyAsString(INCREMENT);
13
	
10
	
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