File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/filter/plugins/PriorityFilter.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/filter/plugins/PriorityFilter.java | |||
Method name: Integer transformPriority(String)
|
Method name: Integer transformPriority(String)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 3 | |||
1 | if (pattern.equalsIgnoreCase("Normal")) {↵ | |||
2 | searchPatternInt = new Integer(3);↵ | 1 | searchPatternInt = new Integer(1);↵ | |
3 | } else if (pattern.equalsIgnoreCase("Low")) {↵ | 2 | } else if (pattern.equalsIgnoreCase("High")) {↵ | |
4 | searchPatternInt = new Integer(4);↵ | 3 | searchPatternInt = new Integer(2);↵ | |
5 | } else if (pattern.equalsIgnoreCase("Lowest")) {↵ | 4 | } else if (pattern.equalsIgnoreCase("Normal")) {↵ | |
6 | searchPatternInt = new Integer(5);↵ | 5 | searchPatternInt = new Integer(3); | |
7 | } | |||
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 0 |
Number of mapped statements | 0 |
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 | Unknown type |
ID | Statement | ID | Statement |
---|
Row | Violation |
---|