String getMethod() { return getPropertyAsString(METHOD); } public void setContentEncoding(String value) { setProperty(CONTENT_ENCODING, value); } public String getContentEncoding() { return getPropertyAsString(CONTENT_ENCODING);
String getMatchNumberAsString() { return getPropertyAsString(MATCH_NUMBER); } /** * Sets the value of the variable if no matches are found * * @param defaultValue */ public void setDefaultValue(String defaultValue) { setProperty(DEFAULT, defaultValue); } public String getDefaultValue() { return getPropertyAsString(DEFAULT);
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/extractor/RegexExtractor.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getMethod() {
1
String getMatchNumberAsString() {
2
		return getPropertyAsString(METHOD);
2
		return getPropertyAsString(M
3
	}
4
	public void setContentEncoding(String v
3
ATCH_NUMBER);
4
	}
5
	/**
6
	 * Sets the value of the variable if no matches are found
7
	 * 
8
	 * @param defaultValue
9
	 */
5
alue) {
10
	public void setDefaultValue(String defaultValue) {
6
		setProperty(CONTENT_ENCODING, value);
11
		setProperty(DEFAULT, defaultValue);
7
	}
12
	}
8
	public String getContentEncoding() {
13
	public String getDefaultValue() {
9
		return getPropertyAsString(CONTENT_ENCODING);
14
		return getPropertyAsString(DEFAULT);
10
	
15
	
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