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")); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 10 |
Number of mapped statements | 4 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "matchword")); |
| 5 | wholeWordCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "matchword")); | ||||||||||
4 | caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "matchcase")); |
| 6 | caseSensCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "matchcase")); | ||||||||||
5 | findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "findbackwards")); |
| 7 | findBackCheckBox = new CheckBoxWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "findbackwards")); | ||||||||||
6 | findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "find", "find")); |
| 8 | findButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(RESOURCE_PATH, "findreplace", "find")); |
Row | Violation |
---|