SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
183 17 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 56 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 241 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 441 High

org.joda.beans.impl.light.LightMetaBean

Bug Category Details Line Priority
Invocation of toString on args in org.joda.beans.impl.light.LightMetaBean.build(Constructor, Object[]) CORRECTNESS DMI_INVOKING_TOSTRING_ON_ARRAY 205 Medium
org.joda.beans.impl.light.LightMetaBean.findConstructor(Class, List) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 509 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 101 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 88 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.JodaBeanBinWriter

Bug Category Details Line Priority
Load of known null value in org.joda.beans.ser.bin.JodaBeanBinWriter.writeMap(SerIterator) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 247 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 301 Medium
Load of known null value in org.joda.beans.ser.xml.JodaBeanXmlWriter.writeKeyElement(String, Object, SerIterator) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 312 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 431 Medium
org.joda.beans.test.JodaBeanTests.coverProperties(Bean) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 182 Medium
Exception is caught when Exception is not thrown in org.joda.beans.test.JodaBeanTests.<static initializer for JodaBeanTests>() STYLE REC_CATCH_EXCEPTION 431 Medium

Back to top

Version: 2.4-SNAPSHOT. Last Published: 2018-09-28.

Reflow Maven skin.