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 getFailure(){ return getPropertyAsString(FAILURE); } /** * set the failure message * @param fail */ public void setFailure(String fail){ setProperty(FAILURE,fail); } /** * The failure code is used by other components */ public String getFailureCode(){ return getPropertyAsString(FAILURECODE); } /** * Provide some unique code to denote a type of failure * @param code */ public void setFailureCode(String code){ setProperty(FAILURECODE,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 getFailure(){
2
        return getPropertyAsString(REPORT_PAGE_FOOTER);
2
        return getPropertyAsString(FAILURE);
3
    }
3
    }
4
    
4
    /**
5
     * set the failure message
6
     * @param fail
7
     */
5
    public void setFooterURL(String url) {
8
    public void setFailure(String fail){
6
        setProperty(REPORT_PAGE_FOOTER,url);
9
        setProperty(FAILURE,fail);
7
    }
10
    }
8
    
11
    
12
    /**
13
     * The failure code is used by other components
14
     */
9
    public String getIntroduction() {
15
    public String getFailureCode(){
10
        return getPropertyAsString(REPORT_PAGE_INTRO);
16
        return getPropertyAsString(FAILURECODE);
11
    }
17
    }
12
    
18
    
13
    public vo
19
    /**
14
id setIntroduction
20
     * Provide some unique code to denote a type of failure
21
     * @param code
22
     */
15
(String intro) {
23
    public void setFailureCode(String code){
16
        setProperty(REPORT_PAGE_INTRO,intro);
24
        setProperty(FAILURECODE,code);
17
    
25
    
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