boolean isPerUser() {
return getPropertyAsBoolean(PER_USER);
}
public void setVarName(String name) {
setProperty(VAR_NAME, name);
}
public String getVarName() {
return getPropertyAsString(VAR_NAME);
}
boolean getAutoRedirects() {
return getPropertyAsBoolean(AUTO_REDIRECTS);
}
public void setMethod(String value) {
setProperty(METHOD, value);
}
public String getMethod() {
return getPropertyAsString(METHOD);
}
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 ↵
|
2 | ↵ | | 2 | getAutoRedirects() {↵
|
3 | return getPropertyAsBoolean(PER_USER);↵ | | 3 | return getPropertyAsBoolean(↵
|
4 | ↵ | | 4 | AUTO_REDIRECTS);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | public void setVarName(String name) {↵ | | 6 | public void setMethod(String value) {↵
|
7 | setProperty(VAR_NAME, name);↵ | | 7 | setProperty(METHOD, value);↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public String getVarName() {↵ | | 9 | public String getMethod() {↵
|
10 | return getPropertyAsString(VAR_NAME);↵ | | 10 | return getPropertyAsString(METHOD);↵
|
11 | } | | 11 | }
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |