The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Low
Effort is Max
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
184 | 8 | 0 | 0 |
Class | Bugs |
---|---|
ch.visnet.heartbreak.EccobuildClimateDAO | 1 |
ch.visnet.heartbreak.HeatingBreaker | 5 |
ch.visnet.heartbreak.SimpleZoneModel | 1 |
ch.visnet.heartbreak.SimpleZoneThermalModel | 1 |
Bug | Category | Details | Line |
---|---|---|---|
EccobuildClimateDAO.jdbcTemplate not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Call to method of static java.text.DateFormat in ch.visnet.heartbreak.HeatingBreaker.testBasicHeating() | MT_CORRECTNESS | STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE | 36 |
Found static field of type java.text.DateFormat in ch.visnet.heartbreak.HeatingBreaker.dateFormat | MT_CORRECTNESS | STCAL_STATIC_SIMPLE_DATA_FORMAT_INSTANCE | Not available |
Write to static field com.adhoco.system.Settings.heating_control from instance method ch.visnet.heartbreak.HeatingBreaker.testBasicHeating() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 28 |
Unread field: ch.visnet.heartbreak.HeatingBreaker.outdoorIlluminance | PERFORMANCE | URF_UNREAD_FIELD | 85 |
Unused field: ch.visnet.heartbreak.HeatingBreaker.model | PERFORMANCE | UUF_UNUSED_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Unread field: ch.visnet.heartbreak.SimpleZoneModel.lightingModel | PERFORMANCE | URF_UNREAD_FIELD | 10 |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to $L4 in ch.visnet.heartbreak.SimpleZoneThermalModel.step(long) | STYLE | DLS_DEAD_LOCAL_STORE | 33 |