SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.8
Threshold is medium
Effort is default
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 33 | 4 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| org.owasp.dependencycheck.utils.AutoCloseableInputSource | 1 |
| org.owasp.dependencycheck.utils.Settings | 3 |
org.owasp.dependencycheck.utils.AutoCloseableInputSource
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference in org.owasp.dependencycheck.utils.AutoCloseableInputSource.fromResource(String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 37 | Medium |
org.owasp.dependencycheck.utils.Settings
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Do not catch NullPointerException like in org.owasp.dependencycheck.utils.Settings.initialize(String) | STYLE | DCN_NULLPOINTER_EXCEPTION | 987 | Medium |
| Suppressing annotation OBL_UNSATISFIED_OBLIGATION on the method org.owasp.dependencycheck.utils.Settings.mergeProperties(File) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 1228-1231 | Medium |
| Suppressing annotation OBL_UNSATISFIED_OBLIGATION on the method org.owasp.dependencycheck.utils.Settings.mergeProperties(String) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 1247-1250 | Medium |