String getHeaderURL() {
return getPropertyAsString(REPORT_PAGE_HEADER);
}
public void setHeaderURL(String url) {
setProperty(REPORT_PAGE_HEADER,url);
}
public String getFooterURL() {
return getPropertyAsString(REPORT_PAGE_FOOTER);
}
String getName() {
return getPropertyAsString(HNAME);
}
/**
* Set the name for this object.
*/
public synchronized void setName(String name) {
this.setProperty(HNAME, name);
}
/**
* Get the value for this object.
*/
public synchronized String getValue() {
return getPropertyAsString(VALUE);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/ReportPage.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Header.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | String getHeaderURL() {↵ | | 1 | String get↵
|
2 | ↵ | | 2 | Name() {↵
|
3 | return getPropertyAsString(REPORT_PAGE_HEADER);↵ | | 3 | return getPropertyAsString(↵
|
4 | }↵ | | |
|
5 | ↵ | | |
|
6 | public void setHeaderURL↵ | | 4 | HNAME);↵
|
| | | 5 | }↵
|
|
| | | 6 | /**↵
|
| | | 7 | * Set the name for this object.↵
|
| | | 8 | */↵
|
7 | (String url) {↵ | | 9 | public synchronized void setName(String name) {↵
|
8 | setProperty(REPORT_PAGE_HEADER,url);↵ | | 10 | this.setProperty(↵
|
9 | }↵ | | |
|
10 | ↵ | | |
|
11 | public String getFooterURL() {↵ | | |
|
12 | ↵ | | 11 | HNAME, name);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * Get the value for this object.↵
|
| | | 15 | */↵
|
| | | 16 | public synchronized String getValue() {↵
|
13 | return getPropertyAsString(REPORT_PAGE_FOOTER);↵ | | 17 | return getPropertyAsString(↵
|
14 | ↵ | | 18 | VALUE);↵
|
15 | } | | 19 | }
|
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 |