FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
10 7 0 0

org.apache.maven.doxia.siterenderer.DefaultSiteRenderer

Bug Category Details Line Priority
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.createContextForSkin(Artifact, Map, DecorationModel, String, Locale) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 773 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.copyResources(SiteRenderingContext, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 896 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Collection, SiteRenderingContext, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 326 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.saveVelocityProcessedContent(RenderingContext, SiteRenderingContext, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 465 Medium
Return value of org.apache.velocity.tools.config.EasyFactoryConfiguration$EasyWrap.tool(Class) ignored, is this OK in org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.createToolManagedVelocityContext(SiteRenderingContext) STYLE RV_RETURN_VALUE_IGNORED_INFERRED 498 Medium

org.apache.maven.doxia.siterenderer.SiteRenderingContext

Bug Category Details Line Priority
org.apache.maven.doxia.siterenderer.SiteRenderingContext.getPublishDate() may expose internal representation by returning SiteRenderingContext.publishDate MALICIOUS_CODE EI_EXPOSE_REP 415 Medium
org.apache.maven.doxia.siterenderer.SiteRenderingContext.setPublishDate(Date) may expose internal representation by storing an externally mutable object into SiteRenderingContext.publishDate MALICIOUS_CODE EI_EXPOSE_REP2 425 Medium