File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/importfilter/LocationStep.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/mailboximport/LocationStep.java | |||
Method name: JComponent createComponent()
|
Method name: JComponent createComponent()
|
|||
Number of AST nodes: 5 | Number of AST nodes: 5 | |||
1 | middlePanel.addTextField(sourceButton);↵ | 1 | middlePanel.addTextField(sourceButton);↵ | |
2 | middlePanel.addExample(new JLabel());↵ | 2 | middlePanel.addExample(new JLabel());↵ | |
3 | LabelWithMnemonic destinationLabel = new LabelWithMnemonic(AddressbookResourceLoader.getString(↵ | 3 | LabelWithMnemonic destinationLabel = new LabelWithMnemonic(MailResourceLoader.getString(↵ | |
4 | "dialog", "addressbookimport", "destination"));↵ | 4 | "dialog", "mailboximport", "destination"));↵ | |
5 | middlePanel.addLabel(destinationLabel);↵ | 5 | middlePanel.addLabel(destinationLabel);↵ | |
6 | destinationButton = new JButton("..."); | 6 |
| |
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 | 12 |
Number of mapped statements | 5 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11 | middlePanel.addTextField(sourceButton); | 11 | middlePanel.addTextField(sourceButton); | ||||||||||||||
12 | middlePanel.addExample(new JLabel()); | 12 | middlePanel.addExample(new JLabel()); | ||||||||||||||
13 | LabelWithMnemonic destinationLabel = new LabelWithMnemonic(AddressbookResourceLoader.getString("dialog", "addressbookimport", "destination")); |
| 13 | LabelWithMnemonic destinationLabel = new LabelWithMnemonic(MailResourceLoader.getString("dialog", "mailboximport", "destination")); | |||||||||||||
14 | middlePanel.addLabel(destinationLabel); | 14 | middlePanel.addLabel(destinationLabel); | ||||||||||||||
15 | destinationButton = new JButton("..."); | 15 | destinationButton = new JButton("..."); |
Row | Violation |
---|