String getLocalHostIP(){ if (localHostIP == null) { getLocalHostDetails(); } return localHostIP; } public static synchronized String getLocalHostName(){ if (localHostName == null) { getLocalHostDetails(); } return localHostName;
String getLocalHostName(){ if (localHostName == null) { getLocalHostDetails(); } return localHostName; } public static synchronized String getLocalHostFullName(){ if (localHostFullName == null) { getLocalHostDetails(); } return localHostFullName;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/util/JMeterUtils.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/util/JMeterUtils.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getLocalHostIP(){
1
String getLocalHostName(){
2
		if (localHostIP == null) {
2
		if (localHostName == null) {
3
			getLocalHostDetails();
3
			getLocalHostDetails();
4
		}
4
		}
5
		return localHostIP;
5
		return localHostName;
6
	}
6
	}
7
	public static synchronized String getLocalHostName(){
7
	public static synchronized String getLocalHostFullName(){
8
		if (localHostName == null) {
8
		if (localHostFullName == null) {
9
			getLocalHostDetails();
9
			getLocalHostDetails();
10
		}
10
		}
11
		return localHostName;
11
		return localHostFullName;
12
	
12
	
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