String getContentEncoding() { return getPropertyAsString(CONTENT_ENCODING); } public void setUseKeepAlive(boolean value) { setProperty(new BooleanProperty(USE_KEEPALIVE, value)); } public boolean getUseKeepAlive() { return getPropertyAsBoolean(USE_KEEPALIVE); }
String getIncrementAsString() { return getPropertyAsString(INCREMENT); } public void setIsPerUser(boolean isPer) { setProperty(new BooleanProperty(PER_USER, isPer)); } public boolean isPerUser() { return getPropertyAsBoolean(PER_USER); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.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
String getContentEncoding() {
1
String getIncrementAsString() {
2
		return getPropertyAsString(CONTENT_ENCODING);
2
		return getPropertyAsString(INCREMENT);
3
	}
3
	}
4
	public void setUseKeepAlive(boolean value) {
4
	public void setIsPerUser(boolean isPer) {
5
		setProperty(new BooleanProperty(USE_KEEPALIVE, value));
5
		setProperty(new BooleanProperty(PER_USER, isPer));
6
	}
6
	}
7
	public boolean getUseKeepAlive() {
7
	public boolean isPerUser() {
8
		return getPropertyAsBoolean(USE_KEEPALIVE);
8
		return getPropertyAsBoolean(PER_USER);
9
	}
9
	}
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