String getVarName() {
return getPropertyAsString(VAR_NAME);
}
public void setFormat(String format) {
setProperty(FORMAT, format);
}
public String getFormat() {
return getPropertyAsString(FORMAT);
String getPassword() {
return getPropertyAsString(ConfigTestElement.PASSWORD);
}
public void setServer(String newServer) {
this.setProperty(SERVER, newServer);
}
public String getServer() {
return getPropertyAsString(SERVER);
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/ftp/sampler/FTPSampler.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | String getVarName() {↵ | | 1 | String getPassword() {↵
|
2 | return getPropertyAsString(VAR_NAME);↵ | | 2 | return getPropertyAsString(ConfigTestElement.PASSWORD);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void setFormat(String format) {↵ | | 4 | public void setServer(String ↵
|
5 | setProperty(FORMAT, format);↵ | | |
|
6 | ↵ | | 5 | newServer) {↵
|
| | | 6 | this.setProperty(SERVER, newServer);↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public String getFormat() {↵ | | 8 | public String get↵
|
9 | ↵ | | 9 | Server() {↵
|
10 | return getPropertyAsString(FORMAT);↵ | | 10 | return getPropertyAsString(↵
|
11 | | | 11 | SERVER);↵
|
| | | 12 |
|
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 |