SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.12

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
90 5 0 0

Files

Class Bugs
org.djutils.event.EventProducerImpl 2
org.djutils.event.EventType 1
org.djutils.metadata.MetaData 1
org.djutils.reflection.MethodSignature 1

org.djutils.event.EventProducerImpl

Bug Category Details Line Priority
Inconsistent synchronization of org.djutils.event.EventProducerImpl.listeners; locked 87% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 523 Medium
org.djutils.event.EventProducerImpl.removeAllListeners(Class) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 428 Medium

org.djutils.event.EventType

Bug Category Details Line Priority
Class org.djutils.event.EventType defines non-transient non-serializable instance field metaData BAD_PRACTICE SE_BAD_FIELD Not available High

org.djutils.metadata.MetaData

Bug Category Details Line Priority
new org.djutils.metadata.MetaData(String, String, ObjectDescriptor[]) may expose internal representation by storing an externally mutable object into MetaData.objectDescriptors MALICIOUS_CODE EI_EXPOSE_REP2 45 Medium

org.djutils.reflection.MethodSignature

Bug Category Details Line Priority
org.djutils.reflection.MethodSignature.getParameterTypes(String) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 146 Medium