void setFooterURL(String url) {
setProperty(REPORT_PAGE_FOOTER,url);
}
public String getIntroduction() {
return getPropertyAsString(REPORT_PAGE_INTRO);
}
public void setIntroduction(String intro) {
setProperty(REPORT_PAGE_INTRO,intro);
}
void setParameters(String newScript) {
this.setProperty(PARAMETERS, newScript);
}
public String getScriptLanguage() {
return this.getPropertyAsString(LANGUAGE);
}
public void setScriptLanguage(String lang) {
this.setProperty(LANGUAGE, lang);
}
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/java/sampler/BSFSampler.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setFooterURL(String url) {↵ | | 1 | void set↵
|
2 | setProperty(REPORT_PAGE_FOOTER,url);↵ | | |
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | public String getIntroduction() {↵ | | |
|
6 | ↵ | | 2 | Parameters(String newScript) {↵
|
| | | 3 | this.setProperty(PARAMETERS, newScript);↵
|
| | | 4 | }↵
|
|
| | | 5 | public String getScriptLanguage() {↵
|
7 | return getPropertyAsString(REPORT_PAGE_INTRO);↵ | | 6 | return this.getPropertyAsString(↵
|
8 | }↵ | | |
|
9 | ↵ | | |
|
10 | ↵ | | 7 | LANGUAGE);↵
|
| | | 8 | }↵
|
|
11 | public void setIntroduction(String intro) {↵ | | 9 | public void set↵
|
12 | setProperty(REPORT_PAGE_INTRO,intro);↵ | | |
|
13 | ↵ | | 10 | ScriptLanguage(String lang) {↵
|
| | | 11 | this.setProperty(LANGUAGE, lang);↵
|
14 | } | | 12 | }
|
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 |