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 layoutComponents()
|
Method name: void layoutComponents()
|
|||
Number of AST nodes: 10 | Number of AST nodes: 10 | |||
1 | builder.appendSeparator(MailResourceLoader.getString("dialog",↵ | 1 | builder.appendSeparator(MailResourceLoader.getString("dialog",↵ | |
2 | "account", "configuration"));↵ | 2 | "account", "configuration"));↵ | |
3 | builder.nextLine();↵ | 3 | builder.nextLine();↵ | |
4 | // builder.setLeadingColumnOffset(1);↵ | |||
4 | builder.append(loginLabel, 1);↵ | 5 | builder.append(loginLabel, 2);↵ | |
5 | builder.append(loginTextField, 5);↵ | 6 | builder.append(loginTextField, 5);↵ | |
6 | builder.nextLine();↵ | 7 | builder.nextLine();↵ | |
7 | builder.append(hostLabel, 1);↵ | 8 | builder.append(hostLabel, 2);↵ | |
8 | builder.append(hostTextField);↵ | 9 | builder.append(hostTextField);↵ | |
9 | // builder.nextLine();↵ | 10 | // builder.nextLine();↵ | |
10 | builder.append(portLabel);↵ | 11 | builder.append(portLabel);↵ | |
11 | builder.append(portSpinner);↵ | 12 | builder.append(portSpinner);↵ | |
12 | builder.nextLine(); | 13 |
| |
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 | 58 |
Number of mapped statements | 10 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5 | builder.appendSeparator(MailResourceLoader.getString("dialog", "account", "configuration")); | 5 | builder.appendSeparator(MailResourceLoader.getString("dialog", "account", "configuration")); | |||||||||||
6 | builder.nextLine(); | 6 | builder.nextLine(); | |||||||||||
7 | builder.append(loginLabel, 1); |
| 7 | builder.append(loginLabel, 2); | ||||||||||
8 | builder.append(loginTextField, 5); | 8 | builder.append(loginTextField, 5); | |||||||||||
9 | builder.nextLine(); | 9 | builder.nextLine(); | |||||||||||
10 | builder.append(hostLabel, 1); |
| 10 | builder.append(hostLabel, 2); | ||||||||||
11 | builder.append(hostTextField); | 11 | builder.append(hostTextField); | |||||||||||
12 | builder.append(portLabel); | 12 | builder.append(portLabel); | |||||||||||
13 | builder.append(portSpinner); | 13 | builder.append(portSpinner); | |||||||||||
14 | builder.nextLine(); | 14 | builder.nextLine(); |
Row | Violation |
---|