File path: /jEdit-4.2/src/bsh/ClassGeneratorUtil.java | File path: /jEdit-4.2/src/bsh/ClassGeneratorUtil.java | |||
Method name: void doSwitchBranch(int, String, String[], Label, Label[], int, CodeVisitor)
|
Method name: void doSwitchBranch(int, String, String[], Label, Label[], int, CodeVisitor)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | method = "getLong";↵ | 1 | method = "getBoolean";↵ | |
2 | else if ( type.equals("D") )↵ | 2 | else if ( type.equals("B") )↵ | |
3 | method = "getDouble";↵ | 3 | method = "getByte";↵ | |
4 | else if ( type.equals("F") )↵ | 4 | else if ( type.equals("C") )↵ | |
5 | method = "getFloat"; | 5 | method = "getChar"; | |
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 | 2 |
Number of mapped statements | 1 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17 | method = "getLong"; |
| 7 | method = "getBoolean"; |
Row | Violation |
---|