try { listener.testStarted(); } catch (Exception ex) { log.error("", ex); // $NON-NLS-1$ }
if (context != null) { try { context.close(); } catch (NamingException ignored) { // 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/src/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java
Method name: void testStarted() Method name: void threadStarted()
Number of AST nodes: 2 Number of AST nodes: 3
1
try {
2
			listener.testStarted
1
if (context != null) {
2
				try {
3
();
3
					context.close();
4
		} catch (Exception ex) {
4
				} catch (NamingException ignored) {
5
			log.error("", ex); // $NON-NLS-1$
5
			
6
		// ignore
7
				}
6
		}
8
			}
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 locationClones are in different classes having the same super class
Number of node comparisons0