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