The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer | 6 |
org.apache.maven.doxia.siterenderer.SiteRenderingContext | 2 |
org.apache.maven.doxia.siterenderer.SkinResourceLoader | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.createContextForSkin(Artifact, Map, DecorationModel, String, Locale) créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivileged | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 805 | Medium |
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.createContextForTemplate(File, Map, DecorationModel, String, Locale) créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivileged | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 904 | 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 | 943 | 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 | 334 | 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 | 469 | 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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
La méthode org.apache.maven.doxia.siterenderer.SiteRenderingContext.getPublishDate() risque d'exposer sa représentation interne en renvoyant org.apache.maven.doxia.siterenderer.SiteRenderingContext.publishDate | MALICIOUS_CODE | EI_EXPOSE_REP | 415 | Medium |
La méthode org.apache.maven.doxia.siterenderer.SiteRenderingContext.setPublishDate(Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.doxia.siterenderer.SiteRenderingContext.publishDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 425 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.maven.doxia.siterenderer.SkinResourceLoader.normalizeNewline(InputStream): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 75 | High |