String getLabelResource() { return "transaction_controller_title"; // $NON-NLS-1$ } /** * Initialize the GUI components and layout for this component. */ private void init() { setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP)); setBorder(makeBorder()); add(makeTitlePanel()); parent = new JCheckBox(JMeterUtils.getResString("transaction_controller_parent")); // $NON-NLS-1$ add(parent); }
String getLabelResource() { return "random_control_title"; // $NON-NLS-1$ } private void init() { setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP)); setBorder(makeBorder()); add(makeTitlePanel()); style = new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers")); // $NON-NLS-1$ add(style); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/gui/TransactionControllerGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/gui/RandomControlGui.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getLabelResource() {
1
String getLabelResource() {
2
		return "transaction_controller_title"; // $NON-NLS-1$
2
		return "random_control_title"; // $NON-NLS-1$
3
	}
3
	}
4
	/**
5
	 * Initialize the GUI components and layout for this component.
6
	 */
7
	private void init() {
4
	private void init() {
8
		setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
5
		setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
9
		setBorder(makeBorder());
6
		setBorder(makeBorder());
10
		add(makeTitlePanel());
7
		add(makeTitlePanel());
11
		parent
12
 = new JCheckBox(JMeterUtils.getResString("transaction_controller_parent")); // $NON-NLS-1$
8
		style = new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers")); // $NON-NLS-1$
13
		add(parent);
9
		add(style);
14
	}
10
	}
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 location
Number of node comparisons0