Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.1

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
23 15 0 0

Files

Class Bugs
net.sf.maventaglib.Taglib 2
net.sf.maventaglib.TagreferenceRenderer 1
net.sf.maventaglib.ValidateRenderer 2
net.sf.maventaglib.checker.Tag 4
net.sf.maventaglib.checker.Tld 6

net.sf.maventaglib.Taglib

Bug Category Details Line Priority
net.sf.maventaglib.Taglib.getFunctionClasses() may expose internal representation by returning Taglib.functionClasses MALICIOUS_CODE EI_EXPOSE_REP 84 Medium
net.sf.maventaglib.Taglib.setFunctionClasses(String[]) may expose internal representation by storing an externally mutable object into Taglib.functionClasses MALICIOUS_CODE EI_EXPOSE_REP2 93 Medium

net.sf.maventaglib.TagreferenceRenderer

Bug Category Details Line Priority
new net.sf.maventaglib.TagreferenceRenderer(Sink, Locale, Tld[], boolean, Log) may expose internal representation by storing an externally mutable object into TagreferenceRenderer.tlds MALICIOUS_CODE EI_EXPOSE_REP2 88 Medium

net.sf.maventaglib.ValidateRenderer

Bug Category Details Line Priority
new net.sf.maventaglib.ValidateRenderer(Sink, Locale, Tld[], Log, ClassLoader) may expose internal representation by storing an externally mutable object into ValidateRenderer.projectClassLoader MALICIOUS_CODE EI_EXPOSE_REP2 106 Medium
new net.sf.maventaglib.ValidateRenderer(Sink, Locale, Tld[], Log, ClassLoader) may expose internal representation by storing an externally mutable object into ValidateRenderer.tlds MALICIOUS_CODE EI_EXPOSE_REP2 104 Medium

net.sf.maventaglib.checker.Tag

Bug Category Details Line Priority
net.sf.maventaglib.checker.Tag.getAttributes() may expose internal representation by returning Tag.attributes MALICIOUS_CODE EI_EXPOSE_REP 53 Medium
net.sf.maventaglib.checker.Tag.getVariables() may expose internal representation by returning Tag.variables MALICIOUS_CODE EI_EXPOSE_REP 93 Medium
net.sf.maventaglib.checker.Tag.setAttributes(TagAttribute[]) may expose internal representation by storing an externally mutable object into Tag.attributes MALICIOUS_CODE EI_EXPOSE_REP2 58 Medium
net.sf.maventaglib.checker.Tag.setVariables(TagVariable[]) may expose internal representation by storing an externally mutable object into Tag.variables MALICIOUS_CODE EI_EXPOSE_REP2 98 Medium

net.sf.maventaglib.checker.Tld

Bug Category Details Line Priority
net.sf.maventaglib.checker.Tld.getFunctions() may expose internal representation by returning Tld.functions MALICIOUS_CODE EI_EXPOSE_REP 224 Medium
net.sf.maventaglib.checker.Tld.getTagfiles() may expose internal representation by returning Tld.tagfiles MALICIOUS_CODE EI_EXPOSE_REP 242 Medium
net.sf.maventaglib.checker.Tld.getTags() may expose internal representation by returning Tld.tags MALICIOUS_CODE EI_EXPOSE_REP 123 Medium
net.sf.maventaglib.checker.Tld.setFunctions(ELFunction[]) may expose internal representation by storing an externally mutable object into Tld.functions MALICIOUS_CODE EI_EXPOSE_REP2 233 Medium
net.sf.maventaglib.checker.Tld.setTagfiles(TagFile[]) may expose internal representation by storing an externally mutable object into Tld.tagfiles MALICIOUS_CODE EI_EXPOSE_REP2 251 Medium
net.sf.maventaglib.checker.Tld.setTags(Tag[]) may expose internal representation by storing an externally mutable object into Tld.tags MALICIOUS_CODE EI_EXPOSE_REP2 150 Medium