The following document contains the results of FindBugs Report
FindBugs Version is 1.1.1
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 390 | 26 | 8 | 44 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.RequestHandler.processCommandForm(Command,Request,Response) | STYLE | BC_UNCONFIRMED_CAST | 407 |
| Load of known null value in net.sf.brico.cmd.RequestHandler.setFormProperty(Form,String,Class,Object) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 502 |
| 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 caught | STYLE | REC_CATCH_EXCEPTION | 383 |
| Field not initialized in constructor: net.sf.brico.cmd.RequestHandler.commandFactory | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Field not initialized in constructor: net.sf.brico.cmd.RequestHandler.formFactoryRegistry | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| 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.exceptionConfigs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 139 |
| Field not initialized in constructor: net.sf.brico.cmd.base.AbstractController.contextFactory | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Field not initialized in constructor: net.sf.brico.cmd.base.AbstractController.responseFactory | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Field not initialized in constructor: net.sf.brico.cmd.base.command.CommandForwarder.controller | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| 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 caught | STYLE | REC_CATCH_EXCEPTION | 43 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.contains(String,String) | STYLE | BC_UNCONFIRMED_CAST | 48 |
| Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.get(String,int) | STYLE | BC_UNCONFIRMED_CAST | 65 |
| Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.get(String,String) | STYLE | BC_UNCONFIRMED_CAST | 79 |
| Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.getDynaProperty(String) | STYLE | BC_UNCONFIRMED_CAST | 137 |
| Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.remove(String,String) | STYLE | BC_UNCONFIRMED_CAST | 95 |
| Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.set(String,int,Object) | STYLE | BC_UNCONFIRMED_CAST | 106 |
| Unchecked/unconfirmed cast from java.lang.Exception to java.lang.RuntimeException in net.sf.brico.cmd.base.form.DynamicForm.set(String,String,Object) | STYLE | BC_UNCONFIRMED_CAST | 122 |
| Bug | Category | Details | Line |
|---|---|---|---|
| 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 caught | STYLE | REC_CATCH_EXCEPTION | 47 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Field not initialized in constructor: net.sf.brico.cmd.support.spring.ApplicationContextAwareController.applicationContext | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| 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.morphers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 56 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Field not initialized in constructor: net.sf.brico.cmd.support.spring.SpringEnabledCommandFactory.applicationContext | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| 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 caught | STYLE | REC_CATCH_EXCEPTION | 103 |
| Bug | Category | Details | Line |
|---|---|---|---|
| net.sf.brico.util.OrderComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| 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.patterns | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 |
| Field not initialized in constructor: net.sf.brico.util.regexp.AbstractRegexpNameMatcher.patterns | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Field not initialized in constructor: net.sf.brico.util.regexp.Perl5RegexpNameMatcher.matcher | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |