try { this.wait(); } catch (Exception ex) { log.error("", ex); }
try { FileServer.getFileServer().closeFile(FILENAME); } catch (IOException e) { // do nothing }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/threads/ThreadGroup.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.java
Method name: void waitForSamples() Method name: void close()
Number of AST nodes: 2 Number of AST nodes: 2
1
try {
1
try {
2
				this.wait();
2
			FileServer.getFileServer().closeFile(FILENAME);
3
			} catch (Exception ex) {
3
		} catch (IOException e) {
4
				log.error("", ex);
4
			// do nothing
5
			}
5
		}
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
Number of node comparisons1