File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/IncomingServerPanel.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/OutgoingServerPanel.java | |||
Method name: void initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | authenticationLabel = new LabelWithMnemonic(MailResourceLoader↵ | 1 | authenticationLabel = new LabelWithMnemonic(MailResourceLoader↵ | |
2 | .getString("dialog", "account", "authentication_type"));↵ | 2 | .getString("dialog", "account", "authentication_type"));↵ | |
3 | authenticationComboBox = new JComboBox();↵ | 3 | authenticationComboBox = new JComboBox();↵ | |
4 | authenticationComboBox↵ | 4 | authenticationComboBox↵ | |
5 | .setRenderer(new AuthenticationListCellRenderer());↵ | 5 | .setRenderer(new AuthenticationListCellRenderer());↵ | |
6 | authenticationLabel.setLabelFor(authenticationComboBox);↵ | 6 | authenticationLabel.setLabelFor(authenticationComboBox);↵ | |
7 | updateAuthenticationComboBox();↵ | 7 | updateAuthenticationComboBox();↵ | |
8 | checkAuthMethods = new ButtonWithMnemonic(MailResourceLoader.getString(↵ | 8 | checkAuthMethods = new ButtonWithMnemonic(MailResourceLoader.getString(↵ | |
9 | "dialog", "account", "authentication_checkout_methods"));↵ | 9 | "dialog", "account", "authentication_checkout_methods"));↵ | |
10 | checkAuthMethods.setActionCommand("CHECK_AUTHMETHODS");↵ | 10 | checkAuthMethods.setActionCommand("CHECK_AUTHMETHODS");↵ | |
11 | checkAuthMethods.addActionListener(this); | 11 |
| |
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 | 31 |
Number of mapped statements | 8 |
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 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
32 | authenticationLabel = new LabelWithMnemonic(MailResourceLoader.getString("dialog", "account", "authentication_type")); | 17 | authenticationLabel = new LabelWithMnemonic(MailResourceLoader.getString("dialog", "account", "authentication_type")); | |
33 | authenticationComboBox = new JComboBox(); | 18 | authenticationComboBox = new JComboBox(); | |
34 | authenticationComboBox.setRenderer(new AuthenticationListCellRenderer()); | 19 | authenticationComboBox.setRenderer(new AuthenticationListCellRenderer()); | |
35 | authenticationLabel.setLabelFor(authenticationComboBox); | 20 | authenticationLabel.setLabelFor(authenticationComboBox); | |
36 | updateAuthenticationComboBox(); | 21 | updateAuthenticationComboBox(); | |
37 | checkAuthMethods = new ButtonWithMnemonic(MailResourceLoader.getString("dialog", "account", "authentication_checkout_methods")); | 22 | checkAuthMethods = new ButtonWithMnemonic(MailResourceLoader.getString("dialog", "account", "authentication_checkout_methods")); | |
38 | checkAuthMethods.setActionCommand("CHECK_AUTHMETHODS"); | 23 | checkAuthMethods.setActionCommand("CHECK_AUTHMETHODS"); | |
39 | checkAuthMethods.addActionListener(this); | 24 | checkAuthMethods.addActionListener(this); |
Row | Violation |
---|