void setMatchNumber(String matchNumber) {
setProperty(MATCH_NUMBER, matchNumber);
}
public int getMatchNumber() {
return getPropertyAsInt(MATCH_NUMBER);
}
public String getMatchNumberAsString() {
return getPropertyAsString(MATCH_NUMBER);
void setPort(String port) {
setProperty(PORT, port);
}
public String getClassLabel() {
return JMeterUtils.getResString("httpmirror_title"); //$NON-NLS-1$
}
public int getPort() {
return getPropertyAsInt(PORT);
}
public String getPortString() {
return getPropertyAsString(PORT);
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/http/control/HttpMirrorControl.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setMatchNumber(String matchNumber) {↵ | | 1 | void set↵
|
2 | setProperty(MATCH_NUMBER, matchNumber↵ | | 2 | Port(String port) {↵
|
3 | );↵ | | 3 | setProperty(PORT, port);↵
|
4 | }↵ | | 4 | }↵
|
| | | 5 | ↵
|
5 | public int getMatchNumber↵ | | 6 | public String getClassLabel() {↵
|
| | | 7 | return JMeterUtils.getResString("httpmirror_title"); //$NON-NLS-1$↵
|
| | | 8 | }↵
|
|
|
6 | () {↵ | | 9 | public int getPort() {↵
|
7 | return getPropertyAsInt(MATCH_NUMBER);↵ | | 10 | return getPropertyAsInt(PORT);↵
|
8 | }↵ | | 11 | }↵
|
|
9 | public String getMatchNumberAsString() {↵ | | 12 | public String getPortString() {↵
|
10 | return getPropertyAsString(MATCH_NUMBER);↵ | | 13 | return getPropertyAsString(PORT);↵
|
11 | | | 14 |
|
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 |