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);
}
void setMatchNumber(String matchNumber) {
setProperty(MATCH_NUMBER, matchNumber);
}
public int getMatchNumber() {
return getPropertyAsInt(MATCH_NUMBER);
}
public String getMatchNumberAsString() {
return getPropertyAsString(MATCH_NUMBER);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/HttpMirrorControl.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/RegexExtractor.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setPort(String port) {↵ | | 1 | void set↵
|
2 | setProperty(PORT, port↵ | | 2 | MatchNumber(String matchNumber) {↵
|
3 | );↵ | | 3 | setProperty(MATCH_NUMBER, matchNumber);↵
|
4 | }↵ | | 4 | }↵
|
5 | ↵ | | |
|
6 | public String getClassLabel() {↵ | | 5 | public ↵
|
7 | return JMeterUtils.getResString("httpmirror_title"); //$NON-NLS-1$↵ | | |
|
8 | }↵ | | |
|
|
|
9 | public int getPort() {↵ | | 6 | int getMatchNumber() {↵
|
10 | return getPropertyAsInt(PORT);↵ | | 7 | return getPropertyAsInt(MATCH_NUMBER);↵
|
11 | }↵ | | 8 | }↵
|
|
12 | public String getPortString() {↵ | | 9 | public String getMatchNumberAsString() {↵
|
13 | return getPropertyAsString(PORT);↵ | | 10 | return getPropertyAsString(MATCH_NUMBER);↵
|
14 | } | | 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 |