BeanShellTestElement o = (BeanShellTestElement) super.clone(); o.init(); return o;
Container panel = super.makeTitlePanel(); // Note: the file panel already includes the error logging checkbox, // so we don't have to add it explicitly. panel.add(getFilePanel()); return panel;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/util/BeanShellTestElement.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/gui/AbstractVisualizer.java
Method name: Object clone() Method name: Container makeTitlePanel()
Number of AST nodes: 3 Number of AST nodes: 3
1
BeanShellTestElement o = (BeanShellTestElement) super.clone();
2
        o.init();
3
       
1
Container panel = super.makeTitlePanel();
2
		// Note: the file panel already includes the error logging checkbox,
3
		// so we don't have to add it explicitly.
4
		panel.add(getFilePanel());
4
return o;
5
		return panel;
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 comparisons9