setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP)); setBorder(makeBorder()); add(makeTitlePanel()); style = new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers")); // $NON-NLS-1$ add(style);
setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP)); setBorder(makeBorder()); add(makeTitlePanel());
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/OnceOnlyControllerGui.java
Method name: void init() Method name: void init()
Number of AST nodes: 5 Number of AST nodes: 3
1
setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
1
setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
2
		setBorder(makeBorder());
2
		setBorder(makeBorder());
3
		add(makeTitlePanel());
3
		add(makeTitlePanel());
4
		style = new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers")); // $NON-NLS-1$
5
		add(style);
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons15
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment2
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    1
    setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    2
    setBorder(makeBorder());
    2
    setBorder(makeBorder());
    3
    add(makeTitlePanel());
    3
    add(makeTitlePanel());
    4
    style = new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers"));
    4
    style = new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers"));
    Preondition Violations
    Unmatched statement style=new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers")); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                                                                                                                        
    5
    add(style);
                                
    Precondition Violations (1)
    Row Violation
    1Unmatched statement style=new JCheckBox(JMeterUtils.getResString("ignore_subcontrollers")); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted