The following document contains the results of SpotBugs
SpotBugs Version is 3.1.11
Threshold is low
Effort is max
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 5 | 5 | 0 | 0 |
| Class | Bugs |
|---|---|
| it.tidalwave.bluemarine2.persistence.impl.DefaultPersistence | 5 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference in it.tidalwave.bluemarine2.persistence.impl.DefaultPersistence.exportToFile(Path) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 174 | Medium |
| Redundant nullcheck of reader, which is known to be non-null in it.tidalwave.bluemarine2.persistence.impl.DefaultPersistence.importFromFile(Path) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 243 | Low |
| Nullcheck of connection at line 198 of value previously dereferenced in it.tidalwave.bluemarine2.persistence.impl.DefaultPersistence.exportToFile(Path) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 198 | Medium |
| Nullcheck of connection at line 247 of value previously dereferenced in it.tidalwave.bluemarine2.persistence.impl.DefaultPersistence.importFromFile(Path) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 247 | Medium |
| Nullcheck of connection at line 216 of value previously dereferenced in it.tidalwave.bluemarine2.persistence.impl.DefaultPersistence.runInTransaction(Persistence$TransactionalTask) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 216 | Medium |