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