...
Failure to check the return values of methods that perform file I/O can result in unexpected behavior.
Rule | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
FIO02-J | Medium | Probable | Yes | YesMedium | P8P12 | L2L1 |
Automated Detection
| Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| CodeSonar |
| JAVA.FUNCS.IRV | Ignored return value | ||||||
| Parasoft Jtest |
| CERT.FIO02.NASSIGIO | Ensure the return values of specified file I/O methods are used | ||||||
| SonarQube |
| S899 |
...