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 setStart(String start) { setProperty(START, start); } public long getStart() { return getPropertyAsLong(START); } public String getStartAsString() { return getPropertyAsString(START); }
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 setStart(String start) {
2
		setProperty(PORT, port);
2
		setProperty(START, start);
3
	}
3
	}
4
	
5
	public String getClassLabel() {
4
	public 
6
		return JMeterUtils.getResString("httpmirror_title"); //$NON-NLS-1$
7
	}
8
	public int getPort() {
5
long getStart() {
9
		return getPropertyAsInt(PORT);
6
		return getPropertyAsLong(START);
10
	}
7
	}
11
	public String getPortString() {
8
	public String getStartAsString() {
12
		return getPropertyAsString(PORT);
9
		return getPropertyAsString(START);
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