wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"find","matchword")); caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"find","matchcase")); findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"find","findbackwards")); findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"find","find"));
wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"findreplace","matchword")); caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"findreplace","matchcase")); findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"findreplace","findbackwards")); findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"findreplace","find"));
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/util/FindDialog.java File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/util/FindReplaceDialog.java
Method name: void createComponents() Method name: void createComponents()
Number of AST nodes: 4 Number of AST nodes: 4
1
wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"find","matchword"));
1
wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"findreplace","matchword"));
2
		caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"find","matchcase"));
2
		caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"findreplace","matchcase"));
3
		findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"find","findbackwards"));
3
		findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"findreplace","findbackwards"));
4
		findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"find","find"));
4
		findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH,"findreplace","find"));
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 comparisons10
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements4
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    3
    wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "matchword"));
    3
    wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "matchword"));
    5
    wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "matchword"));
    Differences
    Expression1Expression2Difference
    "find""findreplace"LITERAL_VALUE_MISMATCH
    5
    wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "matchword"));
    4
    caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "matchcase"));
    4
    caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "matchcase"));
    6
    caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "matchcase"));
    Differences
    Expression1Expression2Difference
    "find""findreplace"LITERAL_VALUE_MISMATCH
    6
    caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "matchcase"));
    5
    findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "findbackwards"));
    5
    findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "findbackwards"));
    7
    findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "findbackwards"));
    Differences
    Expression1Expression2Difference
    "find""findreplace"LITERAL_VALUE_MISMATCH
    7
    findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "findbackwards"));
    6
    findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "find"));
    6
    findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "find"));
    8
    findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "find"));
    Differences
    Expression1Expression2Difference
    "find""findreplace"LITERAL_VALUE_MISMATCH
    8
    findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "find"));
    Precondition Violations (0)
    Row Violation