super(); this.criteriaTechnicalName = criteriaTechnicalName; this.providerTechnicalName = providerTechnicalName; list = new SearchResultList();
super(); this.extension = extension; this.description = description;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/search/BasicResultPanel.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/command/SaveMessageBodyAsCommand.java
Method name: void BasicResultPanel(String, String) Method name: void ExtensionFileFilter(String, String)
Number of AST nodes: 4 Number of AST nodes: 3
1
super();
1
super();
2
		this.criteriaTechnicalName = criteriaTechnicalName;
3
		this.providerTechnicalName = providerTechnicalName;
4
		list = new SearchResultList()
2
        this.extension = extension;
5
;
3
        this.description = description;
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
Number of node comparisons7
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment1
    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
    super();
    1
    super();
    1
    super();
    Preondition Violations
    Super constructor call super(); cannot be extracted from constructor
    Super constructor call super(); cannot be extracted from constructor
    1
    super();
    2
    this.criteriaTechnicalName = criteriaTechnicalName;
    2
    this.criteriaTechnicalName = criteriaTechnicalName;
    2
    this.extension = extension;
    Differences
    Expression1Expression2Difference
    criteriaTechnicalNameextensionVARIABLE_NAME_MISMATCH
    criteriaTechnicalNameextensionVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.criteriaTechnicalName is a field being modified, and thus it cannot be parameterized
    Expression this.extension is a field being modified, and thus it cannot be parameterized
    2
    this.extension = extension;
    3
    this.providerTechnicalName = providerTechnicalName;
    3
    this.providerTechnicalName = providerTechnicalName;
    3
    this.description = description;
    Differences
    Expression1Expression2Difference
    providerTechnicalNamedescriptionVARIABLE_NAME_MISMATCH
    providerTechnicalNamedescriptionVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.providerTechnicalName is a field being modified, and thus it cannot be parameterized
    Expression this.description is a field being modified, and thus it cannot be parameterized
    3
    this.description = description;
    4
    list = new SearchResultList();
    4
    list = new SearchResultList();
    Preondition Violations
    Unmatched statement list=new SearchResultList(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                                  
    Precondition Violations (8)
    Row Violation
    1Super constructor call super(); cannot be extracted from constructor
    2Super constructor call super(); cannot be extracted from constructor
    3Expression this.criteriaTechnicalName is a field being modified, and thus it cannot be parameterized
    4Expression this.extension is a field being modified, and thus it cannot be parameterized
    5Expression this.providerTechnicalName is a field being modified, and thus it cannot be parameterized
    6Expression this.description is a field being modified, and thus it cannot be parameterized
    7Unmatched statement list=new SearchResultList(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    8The refactoring of the clones is infeasible, because classes org.columba.addressbook.gui.search.BasicResultPanel and org.columba.mail.folder.command.ExtensionFileFilter do not have a common superclass