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); } public void setIntroduction(String intro) { setProperty(REPORT_PAGE_INTRO,intro);
String getSuccess(){ return getPropertyAsString(SUCCESS); } /** * set the success message * @param success */ public void setSuccess(String success){ setProperty(SUCCESS,success); } /** * get the success code defined by the user */ public String getSuccessCode(){ return getPropertyAsString(SUCCESSCODE); } /** * set the succes code. the success code should * be unique. * @param code */ public void setSuccessCode(String code){ setProperty(SUCCESSCODE,code);
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 getFooterURL() {
1
String getSuccess(){
2
        return getPropertyAsString(REPORT_PAGE_FOOTER);
2
        return getPropertyAsString(SUCCESS);
3
    }
3
    }
4
    
4
    
5
    /**
6
     * set the success message
7
     * @param success
8
     */
5
    public void setFooterURL(String url) {
9
    public void set
6
        setProperty(REPORT_PAGE_FOOTER,url);
7
    }
8
    
10
Success(String success){
11
        setProperty(SUCCESS,success);
12
    }
13
    
14
    /**
15
     * get the success code defined by the user
16
     */
9
    public String getIntroduction() {
17
    public String getSuccessCode(){
10
        return getPropertyAsString(REPORT_PAGE_INTRO);
18
        return getPropertyAsString(SUCCESSCODE);
11
    }
19
    }
12
    
20
    /**
21
     * set the succes code. the success code should
22
     * be unique.
23
     * @param code
24
     */
13
    public void setIntroduction(String intro) {
25
    public void setSuccessCode(String code){
14
        setProperty(REPORT_PAGE_INTRO,intro);
26
        setProperty(SUCCESSCODE,code);
15
    
27
    
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0