IntegerProperty prop = (IntegerProperty) super.clone(); prop.value = value; return prop;
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/testelement/property/IntegerProperty.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
IntegerProperty prop = (Integ
1
Container panel = super.makeTitlePanel();
2
erProperty) super.clone();
2
		// Note: the file panel already includes the erro
3
		prop.value = value
3
r logging checkbox,
4
		// so we don't have to add it explicitly.
4
;
5
		panel.add(getFilePanel());
5
		return prop;
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 comparisons9