String getTitle() {
return getPropertyAsString(REPORT_PAGE_TITLE);
}
public void setTitle(String title) {
setProperty(REPORT_PAGE_TITLE,title);
}
public boolean getIndex() {
return getPropertyAsBoolean(REPORT_PAGE_INDEX);
String getFilterString(){
return getPropertyAsString(FILTER);
}
/**
* set the filter string in comman separated format
* @param text
*/
public void setFilterString(String text){
setProperty(FILTER,text);
}
/**
* if the sample shouldn't call setup/teardown, the
* method returns true. It's meant for onetimesetup
* and onetimeteardown.
*/
public boolean getDoNotSetUpTearDown(){
return getPropertyAsBoolean(DOSETUP);
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/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | String getTitle() {↵ | | 1 | String getFilterString(){↵
|
2 | return getPropertyAsString(REPORT_PAGE_TITLE);↵ | | 2 | return getPropertyAsString(FILTER);↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | 4 | ↵
|
| | | 5 | /**↵
|
| | | 6 | * set the filter string in comman separated format↵
|
| | | 7 | * @param text↵
|
| | | 8 | */↵
|
5 | public void setTitle(String title) {↵ | | 9 | public void setFilterString(String text){↵
|
6 | setProperty(REPORT_PAGE_TITLE,title);↵ | | 10 | setProperty(↵
|
7 | }↵ | | |
|
8 | ↵ | | |
|
9 | public boolean getIndex↵ | | 11 | FILTER,text);↵
|
| | | 12 | }↵
|
| | | 13 | ↵
|
| | | 14 | /**↵
|
| | | 15 | * if the sample shouldn't call setup/teardown, the↵
|
| | | 16 | * method returns true. It's meant for onetimesetup↵
|
| | | 17 | * and onetimeteardown.↵
|
| | | 18 | */↵
|
10 | () {↵ | | 19 | public boolean getDoNotSetUpTearDown(){↵
|
11 | return getPropertyAsBoolean(REPORT_PAGE_INDEX);↵ | | 20 | return getPropertyAsBoolean(DOSETUP);↵
|
12 | | | 21 |
|
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 |