|
1 | 1 |
|
2 | 2 |
|
3 | 3 | Exception Analysis
|
4 |
| - Exn.res:1:5-10 |
5 |
| - raises might raise Not_found (Exn.res:1:19) and is not annotated with @raises(Not_found) |
| 4 | + BsJson.res:4:5-15 |
| 5 | + testBsJson2 raises nothing and is annotated with redundant @raises(JsonCombinators.DecodeError) |
| 6 | + |
| 7 | + Exception Analysis |
| 8 | + Exn.res:17:5-23 |
| 9 | + raisesWithAnnotaion raises nothing and is annotated with redundant @raises(Not_found) |
6 | 10 |
|
7 | 11 | Exception Analysis
|
8 | 12 | Exn.res:19:5-28
|
|
24 | 28 | Exn.res:26:5-19
|
25 | 29 | incompleteMatch might raise Match_failure (Exn.res:27:2) and is not annotated with @raises(Match_failure)
|
26 | 30 |
|
27 |
| - Exception Analysis |
28 |
| - Exn.res:34:5-13 |
29 |
| - twoRaises might raise [A (Exn.res:36:4), B (Exn.res:39:4)] and is not annotated with @raises([A, B]) |
30 |
| - |
31 |
| - Exception Analysis |
32 |
| - Exn.res:43:5-14 |
33 |
| - sequencing might raise A (Exn.res:44:2) and is not annotated with @raises(A) |
34 |
| - |
35 |
| - Exception Analysis |
36 |
| - Exn.res:50:5-14 |
37 |
| - wrongCatch might raise B (Exn.res:51:6) and is not annotated with @raises(B) |
38 |
| - |
39 | 31 | Exception Analysis
|
40 | 32 | Exn.res:56:5-15
|
41 |
| - wrongCatch2 might raise [C (Exn.res:57:24), Match_failure (Exn.res:57:2)] and is not annotated with @raises([C, Match_failure]) |
| 33 | + wrongCatch2 might raise Match_failure (Exn.res:57:2) and is not annotated with @raises(Match_failure) |
42 | 34 |
|
43 | 35 | Exception Analysis
|
44 | 36 | Exn.res:64:5-19
|
45 |
| - raise2Annotate3 might raise [A (Exn.res:66:4), B (Exn.res:69:4)] and is annotated with redundant @raises(C) |
| 37 | + raise2Annotate3 raises nothing and is annotated with redundant @raises([A, B, C]) |
46 | 38 |
|
47 | 39 | Exception Analysis
|
48 |
| - Exn.res:75:5-24 |
49 |
| - parse_json_from_file might raise Error (Exn.res:78:4) and is not annotated with @raises(Error) |
| 40 | + Exn.res:100:5-16 |
| 41 | + indirectCall might raise Not_found (Exn.res:100:31) and is not annotated with @raises(Not_found) |
50 | 42 |
|
51 | 43 | Exception Analysis
|
52 |
| - Exn.res:84:5-11 |
53 |
| - reRaise might raise B (Exn.res:86:19) and is not annotated with @raises(B) |
| 44 | + Exn.res:125:5-13 |
| 45 | + raiseAtAt raises nothing and is annotated with redundant @raises(Not_found) |
54 | 46 |
|
55 | 47 | Exception Analysis
|
56 |
| - Exn.res:95:5-22 |
57 |
| - raiseInInternalLet might raise A (Exn.res:96:14) and is not annotated with @raises(A) |
| 48 | + Exn.res:128:5-13 |
| 49 | + raisePipe raises nothing and is annotated with redundant @raises(Not_found) |
58 | 50 |
|
59 | 51 | Exception Analysis
|
60 |
| - Exn.res:100:5-16 |
61 |
| - indirectCall might raise Not_found (Exn.res:100:31) and is not annotated with @raises(Not_found) |
| 52 | + Exn.res:131:5-14 |
| 53 | + raiseArrow raises nothing and is annotated with redundant @raises(Not_found) |
62 | 54 |
|
63 | 55 | Exception Analysis
|
64 |
| - Exn.res:148:5-16 |
65 |
| - severalCases might raise Failure (Exn.res:150:13 Exn.res:151:13 Exn.res:152:15) and is not annotated with @raises(Failure) |
| 56 | + Exn.res:157:5-30 |
| 57 | + genericRaiseIsNotSupported raises nothing and is annotated with redundant @raises(genericException) |
66 | 58 |
|
67 | 59 | Exception Analysis
|
68 | 60 | Exn.res:159:32-56
|
|
89 | 81 | String.uncapitalize_ascii does not raise and is annotated with redundant @doesNotRaise
|
90 | 82 |
|
91 | 83 | Exception Analysis
|
92 |
| - Exn.res:176:5-23 |
93 |
| - redundantAnnotation raises nothing and is annotated with redundant @raises(Invalid_argument) |
94 |
| - |
95 |
| - Exception Analysis |
96 |
| - Exn.res:178:5-6 |
97 |
| - _x might raise A (Exn.res:178:9) and is not annotated with @raises(A) |
98 |
| - |
99 |
| - Exception Analysis |
100 |
| - Exn.res:180:5 |
101 |
| - _ might raise A (Exn.res:180:8) and is not annotated with @raises(A) |
102 |
| - |
103 |
| - Exception Analysis |
104 |
| - Exn.res:182:5-6 |
105 |
| - () might raise A (Exn.res:182:9) and is not annotated with @raises(A) |
| 84 | + Exn.res:173:5-9 |
| 85 | + exits raises nothing and is annotated with redundant @raises(exit) |
106 | 86 |
|
107 | 87 | Exception Analysis
|
108 |
| - Exn.res:184:1-16 |
109 |
| - Toplevel expression might raise Not_found (Exn.res:184:0) and is not annotated with @raises(Not_found) |
| 88 | + Exn.res:176:5-23 |
| 89 | + redundantAnnotation raises nothing and is annotated with redundant @raises(Invalid_argument) |
110 | 90 |
|
111 | 91 | Exception Analysis
|
112 | 92 | Exn.res:186:1-19
|
|
123 | 103 | Exception Analysis
|
124 | 104 | ExnA.res:1:5-7
|
125 | 105 | bar might raise Not_found (ExnA.res:1:16) and is not annotated with @raises(Not_found)
|
| 106 | + |
| 107 | + Exception Analysis |
| 108 | + ExnB.res:2:5-7 |
| 109 | + foo raises nothing and is annotated with redundant @raises(Not_found) |
| 110 | + |
| 111 | + Exception Analysis |
| 112 | + InnerModules.res:2:5-15 |
| 113 | + wrapExitTop raises nothing and is annotated with redundant @raises(exit) |
| 114 | + |
| 115 | + Exception Analysis |
| 116 | + InnerModules.res:6:7-16 |
| 117 | + wrapExitM1 raises nothing and is annotated with redundant @raises(exit) |
| 118 | + |
| 119 | + Exception Analysis |
| 120 | + InnerModules.res:16:9-18 |
| 121 | + wrapExitM2 raises nothing and is annotated with redundant @raises(exit) |
126 | 122 |
|
127 |
| - Analysis reported 31 issues (Exception Analysis:31) |
| 123 | + Analysis reported 30 issues (Exception Analysis:30) |
0 commit comments