try { listener.testEnded(host); } catch (Exception ex) { log.error("", ex); // $NON-NLS-1$ }
if (wait > 0) { try { Thread.sleep(wait); } catch (InterruptedException e1) { // ignore } }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/samplers/RemoteTestListenerWrapper.java File path: /jakarta-jmeter-2.3.2/test/src/org/apache/jmeter/junit/stubs/TestSampler.java
Method name: void testEnded(String) Method name: SampleResult sample(Entry)
Number of AST nodes: 2 Number of AST nodes: 3
1
try {
2
			listener.testEnded(hos
1
if (wait > 0) {
2
			try {
3
t);
3
				Thread.sleep(wait);
4
		} catch (Exception ex) {
4
			} catch (InterruptedException e1) {
5
			log.error("", ex); // $NON-NLS-1$
5
				// ignore
6
			}
6
		}
7
		}
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.1
Clones locationClones are in different classes having the same super class
Number of node comparisons1