FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
1385900

org.apache.commons.beanutils.BasicDynaBean

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.BasicDynaBean.get(String) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) insteadPERFORMANCEDM_NUMBER_CTOR160Medium
Method org.apache.commons.beanutils.BasicDynaBean.get(String) invokes inefficient new Character(char) constructor; use Character.valueOf(char) insteadPERFORMANCEDM_NUMBER_CTOR162Medium
Method org.apache.commons.beanutils.BasicDynaBean.get(String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR168Medium
Method org.apache.commons.beanutils.BasicDynaBean.get(String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR170Medium
Method org.apache.commons.beanutils.BasicDynaBean.get(String) invokes inefficient new Short(short) constructor; use Short.valueOf(short) insteadPERFORMANCEDM_NUMBER_CTOR172Medium
org.apache.commons.beanutils.BasicDynaBean is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID58Medium

org.apache.commons.beanutils.BasicDynaClass

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.BasicDynaClass.getDynaProperties() may expose internal representation by returning BasicDynaClass.propertiesMALICIOUS_CODEEI_EXPOSE_REP197Medium
org.apache.commons.beanutils.BasicDynaClass.constructorTypes should be both final and package protectedMALICIOUS_CODEMS_FINAL_PKGPROTECT108Medium
org.apache.commons.beanutils.BasicDynaClass is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID51Medium

org.apache.commons.beanutils.BeanMap$3

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.BeanMap$3.transform(Object) invokes inefficient new Character(char) constructor; use Character.valueOf(char) insteadPERFORMANCEDM_NUMBER_CTOR134Medium

org.apache.commons.beanutils.ConvertUtilsBean

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.ConvertUtilsBean.<static initializer>() invokes inefficient new Character(char) constructor; use Character.valueOf(char) insteadPERFORMANCEDM_NUMBER_CTOR134Medium
Method org.apache.commons.beanutils.ConvertUtilsBean.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR133Medium
Method org.apache.commons.beanutils.ConvertUtilsBean.<static initializer>() invokes inefficient new Short(short) constructor; use Short.valueOf(short) insteadPERFORMANCEDM_NUMBER_CTOR387Medium
Method new org.apache.commons.beanutils.ConvertUtilsBean() invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) insteadPERFORMANCEDM_NUMBER_CTOR205Medium
Method new org.apache.commons.beanutils.ConvertUtilsBean() invokes inefficient new Character(char) constructor; use Character.valueOf(char) insteadPERFORMANCEDM_NUMBER_CTOR235Medium
Method new org.apache.commons.beanutils.ConvertUtilsBean() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR327Medium
Method new org.apache.commons.beanutils.ConvertUtilsBean() invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR357Medium
Method org.apache.commons.beanutils.ConvertUtilsBean.setDefaultByte(byte) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) insteadPERFORMANCEDM_NUMBER_CTOR224Medium
Method org.apache.commons.beanutils.ConvertUtilsBean.setDefaultCharacter(char) invokes inefficient new Character(char) constructor; use Character.valueOf(char) insteadPERFORMANCEDM_NUMBER_CTOR254Medium
Method org.apache.commons.beanutils.ConvertUtilsBean.setDefaultInteger(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR346Medium
Method org.apache.commons.beanutils.ConvertUtilsBean.setDefaultLong(long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR376Medium
Method org.apache.commons.beanutils.ConvertUtilsBean.setDefaultShort(short) invokes inefficient new Short(short) constructor; use Short.valueOf(short) insteadPERFORMANCEDM_NUMBER_CTOR406Medium
Write to static field org.apache.commons.beanutils.ConvertUtilsBean.defaultShort from instance method org.apache.commons.beanutils.ConvertUtilsBean.setDefaultShort(short)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD406High

org.apache.commons.beanutils.DynaBeanMapDecorator

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.DynaBeanMapDecorator.putAll(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR285Medium

org.apache.commons.beanutils.DynaProperty

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.DynaProperty is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID77Medium

org.apache.commons.beanutils.LazyDynaBean

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.LazyDynaBean.<static initializer>() invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) insteadPERFORMANCEDM_NUMBER_CTOR128Medium
Method org.apache.commons.beanutils.LazyDynaBean.<static initializer>() invokes inefficient new Character(char) constructor; use Character.valueOf(char) insteadPERFORMANCEDM_NUMBER_CTOR126Medium
Method org.apache.commons.beanutils.LazyDynaBean.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR132Medium
Method org.apache.commons.beanutils.LazyDynaBean.<static initializer>() invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR134Medium
Method org.apache.commons.beanutils.LazyDynaBean.<static initializer>() invokes inefficient new Short(short) constructor; use Short.valueOf(short) insteadPERFORMANCEDM_NUMBER_CTOR130Medium
org.apache.commons.beanutils.LazyDynaBean is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID119Medium

org.apache.commons.beanutils.LazyDynaList

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.LazyDynaList is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID197Medium

org.apache.commons.beanutils.MappedPropertyDescriptor

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.MappedPropertyDescriptor doesn't override java.beans.PropertyDescriptor.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS49Medium

org.apache.commons.beanutils.PropertyUtilsBean

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(Object, String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR483Medium
Method org.apache.commons.beanutils.PropertyUtilsBean.setIndexedProperty(Object, String, int, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1689Medium
Method org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(Method, Object, Object[]) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION2191Medium

org.apache.commons.beanutils.WeakFastHashMap$CollectionView

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.WeakFastHashMap$CollectionView.equals(Object) is unusualSTYLEEQ_UNUSUAL619Medium

org.apache.commons.beanutils.WrapDynaBean

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.WrapDynaBean is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID62Medium

org.apache.commons.beanutils.WrapDynaClass

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.WrapDynaClass.getDynaProperties() may expose internal representation by returning WrapDynaClass.propertiesMALICIOUS_CODEEI_EXPOSE_REP282Medium
Method org.apache.commons.beanutils.WrapDynaClass.introspect() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR406Medium

org.apache.commons.beanutils.converters.AbstractArrayConverter

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.converters.AbstractArrayConverter.strings isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL104Medium

org.apache.commons.beanutils.converters.AbstractConverter

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.converters.AbstractConverter.toString(Class) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION444Medium

org.apache.commons.beanutils.converters.ArrayConverter

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.converters.ArrayConverter.setAllowedChars(char[]) may expose internal representation by storing an externally mutable object into ArrayConverter.allowedCharsMALICIOUS_CODEEI_EXPOSE_REP2201Medium

org.apache.commons.beanutils.converters.CharacterConverter

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.converters.CharacterConverter.convertToType(Class, Object) invokes inefficient new Character(char) constructor; use Character.valueOf(char) insteadPERFORMANCEDM_NUMBER_CTOR84Medium

org.apache.commons.beanutils.converters.DateTimeConverter

BugCategoryDetailsLinePriority
org.apache.commons.beanutils.converters.DateTimeConverter.getPatterns() may expose internal representation by returning DateTimeConverter.patternsMALICIOUS_CODEEI_EXPOSE_REP182Medium
org.apache.commons.beanutils.converters.DateTimeConverter.setPatterns(String[]) may expose internal representation by storing an externally mutable object into DateTimeConverter.patternsMALICIOUS_CODEEI_EXPOSE_REP2193Medium

org.apache.commons.beanutils.converters.NumberConverter

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.converters.NumberConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR87Medium
Method org.apache.commons.beanutils.converters.NumberConverter.convertToType(Class, Object) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR245Medium
Method org.apache.commons.beanutils.converters.NumberConverter.toNumber(Class, Class, Number) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) insteadPERFORMANCEDM_NUMBER_CTOR315Medium
Method org.apache.commons.beanutils.converters.NumberConverter.toNumber(Class, Class, Number) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR343Medium
Method org.apache.commons.beanutils.converters.NumberConverter.toNumber(Class, Class, Number) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR348Medium
Method org.apache.commons.beanutils.converters.NumberConverter.toNumber(Class, Class, Number) invokes inefficient new Short(short) constructor; use Short.valueOf(short) insteadPERFORMANCEDM_NUMBER_CTOR329Medium

org.apache.commons.beanutils.locale.LocaleBeanUtilsBean$Descriptor

BugCategoryDetailsLinePriority
Should org.apache.commons.beanutils.locale.LocaleBeanUtilsBean$Descriptor be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC943Medium

org.apache.commons.beanutils.locale.converters.ByteLocaleConverter

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.locale.converters.ByteLocaleConverter.parse(Object, String) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) insteadPERFORMANCEDM_NUMBER_CTOR222Medium

org.apache.commons.beanutils.locale.converters.IntegerLocaleConverter

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.locale.converters.IntegerLocaleConverter.parse(Object, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR222Medium

org.apache.commons.beanutils.locale.converters.LongLocaleConverter

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.locale.converters.LongLocaleConverter.parse(Object, String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR223Medium

org.apache.commons.beanutils.locale.converters.ShortLocaleConverter

BugCategoryDetailsLinePriority
Method org.apache.commons.beanutils.locale.converters.ShortLocaleConverter.parse(Object, String) invokes inefficient new Short(short) constructor; use Short.valueOf(short) insteadPERFORMANCEDM_NUMBER_CTOR229Medium

org.apache.commons.collections.FastHashMap

BugCategoryDetailsLinePriority

org.apache.commons.collections.FastHashMap$CollectionView

BugCategoryDetailsLinePriority
org.apache.commons.collections.FastHashMap$CollectionView.equals(Object) is unusualSTYLEEQ_UNUSUAL595Medium