String getParameters() { return this.getPropertyAsString(PARAMETERS); } public void setParameters(String newScript) { this.setProperty(PARAMETERS, newScript); } public String getScriptLanguage() { return this.getPropertyAsString(LANGUAGE); } public void setScriptLanguage(String lang) { this.setProperty(LANGUAGE, lang); }
String getName() { return getPropertyAsString(HNAME); } /** * Set the name for this object. */ public synchronized void setName(String name) { this.setProperty(HNAME, name); } /** * Get the value for this object. */ public synchronized String getValue() { return getPropertyAsString(VALUE); } /** * Set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/java/sampler/BSFSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Header.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getParameters() {
1
String getName() {
2
		return this.getPropertyAsString(PARAMETERS);
2
		return getPropertyAsString(HNAME);
3
	}
3
	}
4
	public void setParameters
4
	/**
5
	 * Set the name for this object.
6
	 */
5
(String newScript) {
7
	public synchronized void setName(String name) {
6
		this.setProperty(PARAMETERS, newScript);
8
		this.setProperty(
7
	}
8
	public String getScriptLanguag
9
HNAME, name);
10
	}
11
	/**
12
	 * Get the value for this object.
13
	 */
9
e() {
14
	public synchronized String getValue() {
10
		return this.getPropertyAsString(LANGUAGE);
15
		return getPropertyAsString(VALUE);
11
	}
16
	}
12
	public void setScriptLanguag
17
	/**
18
	 * Set the value for this object.
19
	 */
13
e(String lang) {
20
	public synchronized void setValue(String value) {
14
		this.setProperty(LANGUAGE, lang);
21
		this.setProperty(VALUE, value);
15
	}
22
	}
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