FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
47 |
5 |
0 |
0 |
au.gov.amsa.navigation.CollisionDetector
Bug |
Category |
Details |
Line |
Priority |
Integral division result cast to double or float in au.gov.amsa.navigation.CollisionDetector.<static initializer for CollisionDetector>() |
STYLE |
ICAST_IDIV_CAST_TO_DOUBLE |
31 |
Medium |
au.gov.amsa.navigation.Mmsi
Bug |
Category |
Details |
Line |
Priority |
32 bit int shifted by 32 bits in au.gov.amsa.navigation.Mmsi.calculateHashCode() |
CORRECTNESS |
ICAST_BAD_SHIFT_AMOUNT |
25 |
High |
Nonsensical self computation of Mmsi.mmsi with itself in au.gov.amsa.navigation.Mmsi.calculateHashCode() |
CORRECTNESS |
SA_FIELD_SELF_COMPUTATION |
25 |
Medium |
au.gov.amsa.navigation.VesselPosition
Bug |
Category |
Details |
Line |
Priority |
au.gov.amsa.navigation.VesselPosition.validate isn't final but should be |
MALICIOUS_CODE |
MS_SHOULD_BE_FINAL |
18 |
Medium |
au.gov.amsa.navigation.ais.AisMessageAndVesselData
Bug |
Category |
Details |
Line |
Priority |
au.gov.amsa.navigation.ais.AisMessageAndVesselData.aggregate isn't final but should be |
MALICIOUS_CODE |
MS_SHOULD_BE_FINAL |
33 |
High |