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