FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
12 12 0 0

org.opendaylight.lispflowmapping.mapcache.ExtendedMappingRecord

Bug Category Details Line Priority
org.opendaylight.lispflowmapping.mapcache.ExtendedMappingRecord.getTimestamp() may expose internal representation by returning ExtendedMappingRecord.timestamp MALICIOUS_CODE EI_EXPOSE_REP 42 Medium
org.opendaylight.lispflowmapping.mapcache.ExtendedMappingRecord.setTimestamp(Date) may expose internal representation by storing an externally mutable object into ExtendedMappingRecord.timestamp MALICIOUS_CODE EI_EXPOSE_REP2 46 Medium

org.opendaylight.lispflowmapping.mapcache.FlatMapCache$1

Bug Category Details Line Priority
The class org.opendaylight.lispflowmapping.mapcache.FlatMapCache$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 120 Low

org.opendaylight.lispflowmapping.mapcache.MappingMergeUtil

Bug Category Details Line Priority
Class org.opendaylight.lispflowmapping.mapcache.MappingMergeUtil is final but declares protected field org.opendaylight.lispflowmapping.mapcache.MappingMergeUtil.LOG STYLE CI_CONFUSED_INHERITANCE Low
Suspicious comparison of Boolean references in org.opendaylight.lispflowmapping.mapcache.MappingMergeUtil.mergeCommonMappingRecordFields(MappingRecordBuilder, MappingRecord) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 53 Medium

org.opendaylight.lispflowmapping.mapcache.MultiTableMapCache$1

Bug Category Details Line Priority
The class org.opendaylight.lispflowmapping.mapcache.MultiTableMapCache$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 255 Low

org.opendaylight.lispflowmapping.mapcache.MultiTableMapCache$2

Bug Category Details Line Priority
The class org.opendaylight.lispflowmapping.mapcache.MultiTableMapCache$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 267 Low

org.opendaylight.lispflowmapping.mapcache.MultiTableMapCache$3

Bug Category Details Line Priority
The class org.opendaylight.lispflowmapping.mapcache.MultiTableMapCache$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 285 Low

org.opendaylight.lispflowmapping.mapcache.SimpleMapCache

Bug Category Details Line Priority
Possible null pointer dereference of daoEntry in org.opendaylight.lispflowmapping.mapcache.SimpleMapCache.updateMappingRegistration(Eid, Long) CORRECTNESS NP_NULL_ON_SOME_PATH 341 Medium

org.opendaylight.lispflowmapping.mapcache.SimpleMapCache$1

Bug Category Details Line Priority
The class org.opendaylight.lispflowmapping.mapcache.SimpleMapCache$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 142 Low

org.opendaylight.lispflowmapping.mapcache.SimpleMapCache$2

Bug Category Details Line Priority
The class org.opendaylight.lispflowmapping.mapcache.SimpleMapCache$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 292 Low

org.opendaylight.lispflowmapping.mapcache.SimpleMapCache$3

Bug Category Details Line Priority
The class org.opendaylight.lispflowmapping.mapcache.SimpleMapCache$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 305 Low