String getValue() { return getPropertyAsString(VALUE); } /** * set the value for this object. */ public synchronized void setValue(String value) { this.setProperty(VALUE, value); } /** * get the domain for this object. */ public synchronized String getDomain() { return getPropertyAsString(DOMAIN); }
String getScript() { return this.getPropertyAsString(SCRIPT); } public void setScript(String newScript) { this.setProperty(SCRIPT, newScript); } public String getParameters() { return this.getPropertyAsString(PARAMETERS); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Cookie.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/java/sampler/BSFSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getValue() {
1
String getScript() {
2
		return getPropertyAsString(VALUE);
2
		return this.getPropertyAsString(SCRIPT);
3
	}
3
	}
4
	/**
4
	
5
	 * set the value for this object.
6
	 */
7
	public synchronized void setValue(String value) {
5
public void setScript(String newScript) {
8
		this.setProperty(VALUE, value);
6
		this.setProperty(
9
	}
10
	/**
11
	 * get the domain for this object.
12
	 */
13
	public synchronized String getDomain
7
SCRIPT, newScript);
8
	}
14
() {
9
	public String getParameters() {
15
		return getPropertyAsString(DOMAIN);
10
		return this.getPropertyAsString(PARAMETERS);
16
	}
11
	}
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