SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.11

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
198 16 0 0

org.joda.beans.impl.direct.DirectMetaBean

Bug Category Details Line Priority
Comparison of String parameter using == or != in org.joda.beans.impl.direct.DirectMetaBean.metaPropertyNotFound(String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 54 Medium

org.joda.beans.impl.direct.DirectMetaPropertyMap$Entries$1

Bug Category Details Line Priority
org.joda.beans.impl.direct.DirectMetaPropertyMap$Entries$1.next() can't throw NoSuchElementException BAD_PRACTICE IT_NO_SUCH_ELEMENT 239 Medium

org.joda.beans.impl.flexi.FlexiBean

Bug Category Details Line Priority
org.joda.beans.impl.flexi.FlexiBean defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 439 High

org.joda.beans.impl.light.LightMetaBean

Bug Category Details Line Priority
org.joda.beans.impl.light.LightMetaBean.findConstructor(Class, List) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 508 Medium

org.joda.beans.impl.map.MapBean

Bug Category Details Line Priority
org.joda.beans.impl.map.MapBean.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 99 Medium

org.joda.beans.impl.reflection.ReflectiveMetaProperty

Bug Category Details Line Priority
Possible null pointer dereference of getMethod in new org.joda.beans.impl.reflection.ReflectiveMetaProperty(MetaBean, Class, String) CORRECTNESS NP_NULL_ON_SOME_PATH 87 High

org.joda.beans.ser.SerOptional

Bug Category Details Line Priority
org.joda.beans.ser.SerOptional.<static initializer for SerOptional>() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 45 Medium
Exception is caught when Exception is not thrown in org.joda.beans.ser.SerOptional.<static initializer for SerOptional>() STYLE REC_CATCH_EXCEPTION 45 Medium

org.joda.beans.ser.bin.AbstractBinWriter

Bug Category Details Line Priority
Load of known null value in org.joda.beans.ser.bin.AbstractBinWriter.writeMap(SerIterator) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 151 Medium

org.joda.beans.ser.json.JodaBeanJsonWriter

Bug Category Details Line Priority
Load of known null value in org.joda.beans.ser.json.JodaBeanJsonWriter.writeMapComplex(SerIterator) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 282 Medium

org.joda.beans.ser.xml.JodaBeanXmlWriter

Bug Category Details Line Priority
Load of known null value in org.joda.beans.ser.xml.JodaBeanXmlWriter.convertToString(StringConverter, Object, String) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 344 Medium
Load of known null value in org.joda.beans.ser.xml.JodaBeanXmlWriter.writeKeyElement(String, Object, SerIterator) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 355 Medium

org.joda.beans.test.BeanAssert

Bug Category Details Line Priority
org.joda.beans.test.BeanAssert.buildMessage(List, String, Object, Object, double) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 242 Medium

org.joda.beans.test.JodaBeanTests

Bug Category Details Line Priority
org.joda.beans.test.JodaBeanTests.<static initializer for JodaBeanTests>() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 429 Medium
org.joda.beans.test.JodaBeanTests.coverProperties(Bean) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 180 Medium
Exception is caught when Exception is not thrown in org.joda.beans.test.JodaBeanTests.<static initializer for JodaBeanTests>() STYLE REC_CATCH_EXCEPTION 429 Medium

Back to top

Version: 2.7.1. Last Published: 2019-06-05.

Reflow Maven skin.