The following document contains the results of SpotBugs
SpotBugs Version is 3.1.12
Threshold is medium
Effort is default
Class | Bugs |
---|---|
org.djunits.demo.examples.MultiplyAndDivide | 3 |
org.djunits.demo.examples.UnitPrefix | 1 |
org.djunits.demo.website.Test | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to speed2 in org.djunits.demo.examples.MultiplyAndDivide.main(String[]) | STYLE | DLS_DEAD_LOCAL_STORE | 55 | Medium |
Dead store to speed3 in org.djunits.demo.examples.MultiplyAndDivide.main(String[]) | STYLE | DLS_DEAD_LOCAL_STORE | 56 | Medium |
Dead store to speedVector in org.djunits.demo.examples.MultiplyAndDivide.main(String[]) | STYLE | DLS_DEAD_LOCAL_STORE | 58 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.djunits.demo.examples.UnitPrefix.print(Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Useless object stored in variable data of method org.djunits.demo.website.Test.main(String[]) | STYLE | UC_USELESS_OBJECT | 67 | Medium |