Parent Project
Foundation

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.1

Threshold is Low

Effort is Max

Summary

Classes Bugs Errors Missing Classes
217 14 0 0

org.apache.myfaces.tobago.apt.CreateComponentAnnotationVisitor

Bug Category Details Line
Dead store to tag in org.apache.myfaces.tobago.apt.CreateComponentAnnotationVisitor.createTag(ClassDeclaration) STYLE DLS_DEAD_LOCAL_STORE 126

org.apache.myfaces.tobago.apt.FaceletAnnotationVisitor

Bug Category Details Line
Exception is caught when Exception is not thrown in org.apache.myfaces.tobago.apt.FaceletAnnotationVisitor.createTag(JConstructor, InterfaceDeclaration, Tag) STYLE REC_CATCH_EXCEPTION 197

org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor

Bug Category Details Line
Exception is caught when Exception is not thrown in org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor.addElement(ClassDeclaration, List, List, Namespace) STYLE REC_CATCH_EXCEPTION 670
Exception is caught when Exception is not thrown in org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor.addElement(InterfaceDeclaration, List, List, Namespace) STYLE REC_CATCH_EXCEPTION 704
Method org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor.addFacets(UIComponentTag, Namespace, Element) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 633
Method org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor.createElementExtension(TypeDeclaration, UIComponentTag, Namespace) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 421
Method org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor.createPropertyOrAttributeExtension(String, MethodDeclaration, UIComponentTagAttribute, Namespace) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 556

org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor$1

Bug Category Details Line
The class org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 147-153

org.apache.myfaces.tobago.apt.TaglibAnnotationVisitor

Bug Category Details Line
Redundant nullcheck of componentTagAttribute, which is known to be non-null in org.apache.myfaces.tobago.apt.TaglibAnnotationVisitor.addAttribute(MethodDeclaration, Element, Document) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 439

org.apache.myfaces.tobago.apt.generate.PropertyInfo

Bug Category Details Line
org.apache.myfaces.tobago.apt.generate.PropertyInfo.getAllowdValues() may expose internal representation by returning PropertyInfo.allowdValues MALICIOUS_CODE EI_EXPOSE_REP 122
org.apache.myfaces.tobago.apt.generate.PropertyInfo.getMethodSignature() may expose internal representation by returning PropertyInfo.methodSignature MALICIOUS_CODE EI_EXPOSE_REP 130
org.apache.myfaces.tobago.apt.generate.PropertyInfo.setAllowdValues(String[]) may expose internal representation by storing an externally mutable object into PropertyInfo.allowdValues MALICIOUS_CODE EI_EXPOSE_REP2 126
org.apache.myfaces.tobago.apt.generate.PropertyInfo.setMethodSignature(String[]) may expose internal representation by storing an externally mutable object into PropertyInfo.methodSignature MALICIOUS_CODE EI_EXPOSE_REP2 134
PropertyInfo.type not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available