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
39026844

Files

ClassBugs
net.sf.brico.cmd.RequestHandler5
net.sf.brico.cmd.base.AbstractController3
net.sf.brico.cmd.base.command.CommandForwarder1
net.sf.brico.cmd.base.form.ClassNameFormFactory1
net.sf.brico.cmd.base.form.DynamicForm7
net.sf.brico.cmd.base.form.DynamicFormFactory1
net.sf.brico.cmd.support.spring.ApplicationContextAwareController1
net.sf.brico.cmd.support.spring.MorpherRegistryFactory1
net.sf.brico.cmd.support.spring.SpringEnabledCommandFactory1
net.sf.brico.util.ExceptionBuilder1
net.sf.brico.util.OrderComparator1
net.sf.brico.util.regexp.AbstractRegexpNameMatcher2
net.sf.brico.util.regexp.Perl5RegexpNameMatcher1

net.sf.brico.cmd.RequestHandler

BugCategoryDetailsLine
Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.RequestHandler.processCommandForm(Command,Request,Response)STYLEBC_UNCONFIRMED_CAST407
Load of known null value in net.sf.brico.cmd.RequestHandler.setFormProperty(Form,String,Class,Object)STYLENP_LOAD_OF_KNOWN_NULL_VALUE502
Method net.sf.brico.cmd.RequestHandler.processCommand(Request,Response) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION383
Field not initialized in constructor: net.sf.brico.cmd.RequestHandler.commandFactorySTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: net.sf.brico.cmd.RequestHandler.formFactoryRegistrySTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

net.sf.brico.cmd.base.AbstractController

BugCategoryDetailsLine
net.sf.brico.cmd.base.AbstractController.setExceptionConfigs(String[]) may expose internal representation by storing an externally mutable object into net.sf.brico.cmd.base.AbstractController.exceptionConfigsMALICIOUS_CODEEI_EXPOSE_REP2139
Field not initialized in constructor: net.sf.brico.cmd.base.AbstractController.contextFactorySTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: net.sf.brico.cmd.base.AbstractController.responseFactorySTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

net.sf.brico.cmd.base.command.CommandForwarder

BugCategoryDetailsLine
Field not initialized in constructor: net.sf.brico.cmd.base.command.CommandForwarder.controllerSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

net.sf.brico.cmd.base.form.ClassNameFormFactory

BugCategoryDetailsLine
Method net.sf.brico.cmd.base.form.ClassNameFormFactory.createForm() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION43

net.sf.brico.cmd.base.form.DynamicForm

BugCategoryDetailsLine
Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.contains(String,String)STYLEBC_UNCONFIRMED_CAST48
Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.get(String,int)STYLEBC_UNCONFIRMED_CAST65
Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.get(String,String)STYLEBC_UNCONFIRMED_CAST79
Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.getDynaProperty(String)STYLEBC_UNCONFIRMED_CAST137
Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.remove(String,String)STYLEBC_UNCONFIRMED_CAST95
Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.set(String,int,Object)STYLEBC_UNCONFIRMED_CAST106
Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.set(String,String,Object)STYLEBC_UNCONFIRMED_CAST122

net.sf.brico.cmd.base.form.DynamicFormFactory

BugCategoryDetailsLine
Method net.sf.brico.cmd.base.form.DynamicFormFactory.createForm() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION47

net.sf.brico.cmd.support.spring.ApplicationContextAwareController

BugCategoryDetailsLine
Field not initialized in constructor: net.sf.brico.cmd.support.spring.ApplicationContextAwareController.applicationContextSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

net.sf.brico.cmd.support.spring.MorpherRegistryFactory

BugCategoryDetailsLine
net.sf.brico.cmd.support.spring.MorpherRegistryFactory.setMorphers(net.sf.ezmorph.Morpher[]) may expose internal representation by storing an externally mutable object into net.sf.brico.cmd.support.spring.MorpherRegistryFactory.morphersMALICIOUS_CODEEI_EXPOSE_REP256

net.sf.brico.cmd.support.spring.SpringEnabledCommandFactory

BugCategoryDetailsLine
Field not initialized in constructor: net.sf.brico.cmd.support.spring.SpringEnabledCommandFactory.applicationContextSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

net.sf.brico.util.ExceptionBuilder

BugCategoryDetailsLine
Method net.sf.brico.util.ExceptionBuilder.createException(String,Object[],Throwable) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION103

net.sf.brico.util.OrderComparator

BugCategoryDetailsLine
net.sf.brico.util.OrderComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLENot available

net.sf.brico.util.regexp.AbstractRegexpNameMatcher

BugCategoryDetailsLine
net.sf.brico.util.regexp.AbstractRegexpNameMatcher.setPatterns(String[]) may expose internal representation by storing an externally mutable object into net.sf.brico.util.regexp.AbstractRegexpNameMatcher.patternsMALICIOUS_CODEEI_EXPOSE_REP239
Field not initialized in constructor: net.sf.brico.util.regexp.AbstractRegexpNameMatcher.patternsSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

net.sf.brico.util.regexp.Perl5RegexpNameMatcher

BugCategoryDetailsLine
Field not initialized in constructor: net.sf.brico.util.regexp.Perl5RegexpNameMatcher.matcherSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available