DataSourceElement el = (DataSourceElement) super.clone(); el.excaliburSource = excaliburSource; el.perThreadPoolSet = perThreadPoolSet; return el;
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/protocol/jdbc/config/DataSourceElement.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: 4 Number of AST nodes: 3
1
DataSourceElement el = (DataSourceElement) super.clone();
1
Container panel = super.makeTitlePanel();
2
		el.excaliburSource = excaliburSource;
2
		
3
		el.perThreadPoolSet = perThreadPoolSet
3
// Note: the file panel already includes the error logging checkbox,
4
		// so we don't have to add it explicitly.
4
;
5
		panel.add(getFilePanel());
5
		return el;
6
		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 comparisons12