if (te instanceof TestPlan || te instanceof WorkBench) { name.append(cur.getName()); name.append(seperator); buildNodesModel(cur, name.toString(), 0); }
if (popup != null) { popup.pack(); popup.show(tree, e.getX(), e.getY()); popup.setVisible(true); popup.requestFocus(); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/gui/ModuleControllerGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/tree/ReportTreeListener.java
Method name: void buildNodesModel(JMeterTreeNode, String, int) Method name: void displayPopUp(MouseEvent, JPopupMenu)
Number of AST nodes: 4 Number of AST nodes: 5
1
if (te instanceof TestPlan || te instanceof WorkBench) {
1
if (
2
					name.append(cur.getName());
3
					name.append(seperator);
4
					buildNodesModel(cur, name.toString(), 0
2
popup != null) {
3
			popup.pack();
4
			popup.show(tree, e.getX(), e.getY());
5
			popup.setVisible(true);
5
);
6
			popup.requestFocus();
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
Number of node comparisons1