String getLabelResource() {
return "interleave_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 "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/InterleaveControlGui.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 "interleave_control_title"; // $NON-NLS-1$↵ | | 2 | return "random_control_title"; // $NON-NLS-1$↵
|
3 | }↵ | | 3 | }↵
|
|
4 | private void init() {↵ | | 4 | private void init() {↵
|
5 | setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));↵ | | 5 | setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));↵
|
6 | setBorder(makeBorder());↵ | | 6 | setBorder(makeBorder());↵
|
|
7 | add(makeTitlePanel());↵ | | 7 | add(makeTitlePanel());↵
|
|
8 | style = new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers")); // $NON-NLS-1$↵ | | 8 | style = new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers")); // $NON-NLS-1$↵
|
9 | add(style);↵ | | 9 | add(style);↵
|
10 | | | 10 |
|
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 |