super.clearGui(); filename.setText(""); //$NON-NLS-1$ errorsOnly.setSelected(false); successOnly.setSelected(false);
super.clearGui(); username.setText(""); //$NON-NLS-1$ password.setText("");
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/reporters/gui/ResultSaverGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/config/gui/LoginConfigGui.java
Method name: void clearGui() Method name: void clearGui()
Number of AST nodes: 4 Number of AST nodes: 3
1
super.clearGui();
1
super.clearGui();
2
        
2
        
3
        filename.setText(""); //$NON-NLS-1$
3
        username.setText(""); //$NON-NLS-1$
4
        errorsOnly.setSelected(false);
4
        
5
        successOnly.setSelected(false);
5
password.setText("");
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
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 comparisons12
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment2
    Number of unmapped statements in the second code fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    super.clearGui();
    1
    super.clearGui();
    1
    super.clearGui();
    Preondition Violations
    Super method call super.clearGui(); cannot be extracted from method
    Super method call super.clearGui(); cannot be extracted from method
    1
    super.clearGui();
    2
    filename.setText("");
    2
    filename.setText("");
    2
    username.setText("");
    Differences
    Expression1Expression2Difference
    filenameusernameVARIABLE_NAME_MISMATCH
    2
    username.setText("");
                                                    
    3
    password.setText("");
    3
    errorsOnly.setSelected(false);
                                                                      
    4
    successOnly.setSelected(false);
                                                                        
    Precondition Violations (2)
    Row Violation
    1Super method call super.clearGui(); cannot be extracted from method
    2Super method call super.clearGui(); cannot be extracted from method