void setParameters(String newScript) {
this.setProperty(PARAMETERS, newScript);
}
public String getScriptLanguage() {
return this.getPropertyAsString(LANGUAGE);
}
public void setScriptLanguage(String lang) {
this.setProperty(LANGUAGE, lang);
void setIndex(String makeIndex) {
setProperty(REPORT_PAGE_INDEX,makeIndex);
}
public String getCSS() {
return getPropertyAsString(REPORT_PAGE_CSS);
}
public void setCSS(String css) {
setProperty(REPORT_PAGE_CSS,css);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/java/sampler/BSFSampler.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 | void setParameters(String newScript) {↵ | | 1 | void set↵
|
2 | this.setProperty(PARAMETERS, newScript);↵ | | |
|
3 | }↵ | | |
|
|
4 | public String getScriptLanguage() {↵ | | |
|
5 | ↵ | | 2 | Index(String makeIndex) {↵
|
| | | 3 | setProperty(REPORT_PAGE_INDEX,makeIndex);↵
|
| | | 4 | }↵
|
| | | 5 | ↵
|
| | | 6 | public String getCSS() {↵
|
6 | return this.getPropertyAsString(LANGUAGE);↵ | | 7 | return getPropertyAsString(↵
|
7 | }↵ | | |
|
|
8 | ↵ | | 8 | REPORT_PAGE_CSS);↵
|
| | | 9 | }↵
|
| | | 10 | ↵
|
9 | public void setScriptLanguage(String lang) {↵ | | 11 | public void setCSS(String css) {↵
|
10 | this.setProperty(LANGUAGE, lang);↵ | | 12 | setProperty(↵
|
11 | | | 13 | REPORT_PAGE_CSS,css);↵
|
| | | 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 |