while (iter.hasNext()) { try { ((RemoteSampleListener) iter.next()).sampleOccurred(event); } catch (Exception ex) { log.error("", ex); } }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/proxy/Proxy.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/threads/ThreadGroup.java
Method name: void writeToClient(SampleResult, OutputStream, boolean) Method name: void run()
Number of AST nodes: 0 Number of AST nodes: 3
1
while (iter.hasNext()) {
2
							try {
3
								((RemoteSampleListener) iter.next()).sampleOccurred(event);
4
							} catch (Exception ex) {
5
								log.error("", ex);
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.0
Clones locationClones are in different classes
Number of node comparisons0