String getMatchNumberAsString() {
return getPropertyAsString(MATCH_NUMBER);
}
/**
* Sets the value of the variable if no matches are found
*
* @param defaultValue
*/
public void setDefaultValue(String defaultValue) {
setProperty(DEFAULT, defaultValue);
}
public String getDefaultValue() {
return getPropertyAsString(DEFAULT);
String getFilename() {
return getPropertyAsString(FILENAME);
}
public void setRequestData(String newRequestData) {
this.setProperty(REQUEST, newRequestData);
}
public String getRequestData() {
return getPropertyAsString(REQUEST);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/RegexExtractor.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | String getMatchNumberAsString() {↵ | | 1 | String getFilename() {↵
|
2 | return getPropertyAsString(MATCH_NUMBER);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * Sets the value of the variable if no matches are found↵ | | |
|
6 | * ↵ | | |
|
7 | * @param defaultValue↵ | | |
|
8 | */↵ | | |
|
9 | public void setDefaultValue(String defaultValue↵ | | 3 | FILENAME);↵
|
| | | 4 | }↵
|
|
10 | ) {↵ | | 5 | public void setRequestData(String newRequestData) {↵
|
11 | setProperty(DEFAULT, defaultValue);↵ | | 6 | this.setProperty(REQUEST, newRequestData);↵
|
12 | }↵ | | 7 | }↵
|
|
13 | public String getDefaultValue() {↵ | | 8 | public String getRequestData() {↵
|
14 | return getPropertyAsString(DEFAULT);↵ | | 9 | return getPropertyAsString(REQUEST);↵
|
15 | | | 10 |
|
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 |