FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.1.1

Threshold is Low

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
24023819

Files

ClassBugs
com.sourceforge.jpatterns.core.JPEngineFactory1
com.sourceforge.jpatterns.core.JPEngineImpl1
com.sourceforge.jpatterns.core.configuration.JPConfiguratorImpl2
com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl7
com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBeansBuilderImpl5
com.sourceforge.jpatterns.utils.CastorUtils4
com.sourceforge.jpatterns.utils.JPatternsPropsUtils3

com.sourceforge.jpatterns.core.JPEngineFactory

BugCategoryDetailsLine
com.sourceforge.jpatterns.core.JPEngineFactory is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

com.sourceforge.jpatterns.core.JPEngineImpl

BugCategoryDetailsLine
Method com.sourceforge.jpatterns.core.JPEngineImpl.getPattern(String,String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE107

com.sourceforge.jpatterns.core.configuration.JPConfiguratorImpl

BugCategoryDetailsLine
Write to static field com.sourceforge.jpatterns.core.configuration.JPConfiguratorImpl.useOnlyCustomConsumerConfigIfPresent from instance method com.sourceforge.jpatterns.core.configuration.JPConfiguratorImpl.initConfiguration()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD145
Write to static field com.sourceforge.jpatterns.core.configuration.JPConfiguratorImpl.useOnlyCustomFrameworkConfigIfPresent from instance method com.sourceforge.jpatterns.core.configuration.JPConfiguratorImpl.initConfiguration()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD143

com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl

BugCategoryDetailsLine
Method com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.getCustomBundle(String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION321
Method com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.getDefaultBundle(String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION291
Write to static field com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.isInitialized from instance method com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.initConfigs()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD94
Write to static field com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.isInitialized from instance method com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.initConfigs()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD115
Write to static field com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.useOnlyCustomPropsIfPresent from instance method com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.initUseOnlyCustomConfigIfPresent()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD161
Write to static field com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.useOnlyCustomPropsIfPresent from instance method com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.initUseOnlyCustomConfigIfPresent()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD170
Write to static field com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.useOnlyCustomPropsIfPresent from instance method com.sourceforge.jpatterns.core.configuration.PropertiesManagerImpl.initUseOnlyCustomConfigIfPresent()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD180

com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBeansBuilderImpl

BugCategoryDetailsLine
The field name com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBeansBuilderImpl.OverrideNotDependingOnPriority doesn't start with an lower case letterBAD_PRACTICENM_FIELD_NAMING_CONVENTIONNot available
The field name com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBeansBuilderImpl.OverridingDepth doesn't start with an lower case letterBAD_PRACTICENM_FIELD_NAMING_CONVENTIONNot available
Field not initialized in constructor: com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBeansBuilderImpl.OverridingDepthSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Method com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBeansBuilderImpl.fill(JPatternsConfigBaseBean,java.util.List) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR175
Method com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBeansBuilderImpl.fill(JPatternsConfigBaseBean,java.util.List) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR178

com.sourceforge.jpatterns.utils.CastorUtils

BugCategoryDetailsLine
Dead store to result in method com.sourceforge.jpatterns.utils.CastorUtils.toString(com.sourceforge.jpatterns.schema.CastorSectionType,com.sourceforge.jpatterns.schema.CastorNameScopePriorityType)STYLEDLS_DEAD_LOCAL_STORE549
Method com.sourceforge.jpatterns.utils.CastorUtils.extractCastorNameScopePriorityTypeObjects(com.sourceforge.jpatterns.schema.CastorSectionType) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION202
Method com.sourceforge.jpatterns.utils.CastorUtils.extractCastorSectionTypeObjects(com.sourceforge.jpatterns.schema.JPatternsConfig) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION157
Method com.sourceforge.jpatterns.utils.CastorUtils.getJPatternsConfig(java.io.File) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION83

com.sourceforge.jpatterns.utils.JPatternsPropsUtils

BugCategoryDetailsLine
com.sourceforge.jpatterns.utils.JPatternsPropsUtils.getPropertiesManagerImplementation() might ignore java.lang.ExceptionBAD_PRACTICEDE_MIGHT_IGNORE102
com.sourceforge.jpatterns.utils.JPatternsPropsUtils.customBundle should be package protectedMALICIOUS_CODEMS_PKGPROTECTNot available
com.sourceforge.jpatterns.utils.JPatternsPropsUtils.defaultBundle should be package protectedMALICIOUS_CODEMS_PKGPROTECTNot available