void setDomain(String domain) { setProperty(DOMAIN, domain); } public synchronized String getRealm() { return getPropertyAsString(REALM); } public synchronized void setRealm(String realm) { setProperty(REALM, realm); }
void setTitle(String title) { setProperty(REPORT_CHART_TITLE,title); } /** * The caption is a description for the chart explaining * what the chart means. * @return caption */ public String getCaption() { return getPropertyAsString(REPORT_CHART_CAPTION); } /** * The caption is a description for the chart explaining * what the chart means. * @param caption */ public void setCaption(String caption) { setProperty(REPORT_CHART_CAPTION,caption); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Authorization.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/AbstractChart.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setDomain(String domain) {
1
void setTitle(String title) {
2
		setProperty(DOMAIN, domain);
2
    	setProperty(
3
	}
4
	public synchronized String getRealm() {
5
		return getPropertyAsString(REALM);
6
	}
7
	public synchronized
3
REPORT_CHART_TITLE,title);
4
    }
5
    /**
6
     * The caption is a description for the chart explaining
7
     * what the chart means.
8
     * @return caption
9
     */
10
    public String getCaption() {
11
        return getPropertyAsString(REPORT_CHART_CAPTION);
12
    }
13
    
14
    /**
15
     * The caption is a description for the chart explaining
16
     * what the chart means.
17
     * @param caption
18
     */
8
 void setRealm(String realm) {
19
    public void setCaption(String 
9
		setProperty(REALM, realm);
10
	
20
caption) {
21
        setProperty(REPORT_CHART_CAPTION,caption);
11
}
22
    }
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