boolean isPerUser() { return getPropertyAsBoolean(PER_USER); } public void setVarName(String name) { setProperty(VAR_NAME, name); } public String getVarName() { return getPropertyAsString(VAR_NAME); }
boolean isMonitor() { return this.getPropertyAsBoolean(MONITOR); } public void setImplementation(String value) { this.setProperty(IMPLEMENTATION, value); } public String getImplementation() { return this.getPropertyAsString(IMPLEMENTATION); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/modifiers/CounterConfig.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean isPerUser() {
1
boolean isMonitor() {
2
		return getPropertyAsBoolean(PER_USER);
2
		return this.getPropertyAsBoolean(MONITOR);
3
	}
3
	}
4
	public void setVarName(String name) {
4
    public void setImplementation(String value) {
5
		setProperty(VAR_NAME, name);
5
        this.setProperty(IMPLEMENTATION, value);
6
	}
6
    }
7
	public String getVarName() {
7
    public String get
8
		
8
Implementation() {
9
return getPropertyAsString(VAR_NAME);
9
        return this.getPropertyAsString(
10
	
10
IMPLEMENTATION);
11
}
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