File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/util/AuthenticationManager.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/util/AuthenticationManager.java | |||
Method name: String getLocalizedString(int)
|
Method name: String getLocalizedString(int)
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | case MOST_SECURE : {↵ | 1 | case SASL_PLAIN : {↵ | |
2 | return MailResourceLoader.getString("dialog",↵ | 2 | return MailResourceLoader.getString("dialog",↵ | |
3 | "account", "authentication_securest");↵ | 3 | "account", "authentication_sasl_plain");↵ | |
4 | }↵ | 4 | }↵ | |
5 | ↵ | |||
6 | case USER : {↵ | 5 | case SASL_LOGIN : {↵ | |
7 | return MailResourceLoader.getString("dialog",↵ | 6 | return MailResourceLoader.getString("dialog",↵ | |
8 | "account", "authentication_user");↵ | 7 | "account", "authentication_sasl_login");↵ | |
9 | }↵ | 8 | }↵ | |
10 | case APOP : {↵ | 9 | case SASL_DIGEST_MD5 : {↵ | |
11 | return MailResourceLoader.getString("dialog",↵ | 10 | return MailResourceLoader.getString("dialog",↵ | |
12 | "account", "authentication_apop");↵ | 11 | "account", "authentication_sasl_digest_md5");↵ | |
13 | }↵ | 12 | }↵ | |
14 | case LOGIN : {↵ | 13 | case POP_BEFORE_SMTP : {↵ | |
15 | return MailResourceLoader.getString("dialog",↵ | 14 | return MailResourceLoader.getString("dialog",↵ | |
16 | "account", "authentication_login"); | 15 | "account", "authentication_pop_before_smtp"); | |
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 the same method |
Number of node comparisons | 40 |
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 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | case MOST_SECURE: |
| 10 | case SASL_PLAIN: | ||||||||||
3 | return MailResourceLoader.getString("dialog", "account", "authentication_securest"); |
| 11 | return MailResourceLoader.getString("dialog", "account", "authentication_sasl_plain"); | ||||||||||
4 | case USER: |
| 12 | case SASL_LOGIN: | ||||||||||
5 | return MailResourceLoader.getString("dialog", "account", "authentication_user"); |
| 13 | return MailResourceLoader.getString("dialog", "account", "authentication_sasl_login"); | ||||||||||
6 | case APOP: |
| 14 | case SASL_DIGEST_MD5: | ||||||||||
7 | return MailResourceLoader.getString("dialog", "account", "authentication_apop"); |
| 15 | return MailResourceLoader.getString("dialog", "account", "authentication_sasl_digest_md5"); | ||||||||||
8 | case LOGIN: |
| 16 | case POP_BEFORE_SMTP: | ||||||||||
9 | return MailResourceLoader.getString("dialog", "account", "authentication_login"); |
| 17 | return MailResourceLoader.getString("dialog", "account", "authentication_pop_before_smtp"); |
Row | Violation |
---|