String getUser() { return getPropertyAsString(USERNAME); } public synchronized void setUser(String user) { setProperty(USERNAME, user); } public synchronized String getPass() { return getPropertyAsString(PASSWORD); }
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); }
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/ReportPage.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getUser() {
1
String get
2
		
2
FooterURL() {
3
return getPropertyAsString(USERNAME);
3
        return getPropertyAsString(
4
	}
5
	public synchronized void setUser
4
REPORT_PAGE_FOOTER);
5
    }
6
    
6
(String user) {
7
    public void setFooterURL(String url) {
7
		setProperty(USERNAME, user);
8
        setProperty(
8
	}
9
	public synchronized String getPass() {
10
		
9
REPORT_PAGE_FOOTER,url);
10
    }
11
    
12
    public String getIntroduction() {
11
return getPropertyAsString(PASSWORD);
13
        return getPropertyAsString(
12
	
14
REPORT_PAGE_INTRO);
13
}
15
    }
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