SyncTimer newTimer = (SyncTimer) super.clone(); newTimer.timerCounter = timerCounter; newTimer.sync = sync; return newTimer;
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/timers/SyncTimer.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
SyncTimer newTimer = (SyncTimer) super.clone();
1
Container panel = super.makeTitlePanel();
2
		newTimer.timerCounter = timerCounter;
2
		
3
		newTimer.sync = sync
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 newTimer;
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