FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
332400

org.apache.maven.plugin.war.AbstractWarMojo

BugCategoryDetailsLinePriority
org.apache.maven.plugin.war.AbstractWarMojo.getWebResources() may expose internal representation by returning AbstractWarMojo.webResourcesMALICIOUS_CODEEI_EXPOSE_REP811Medium
org.apache.maven.plugin.war.AbstractWarMojo.setWebResources(Resource[]) may expose internal representation by storing an externally mutable object into AbstractWarMojo.webResourcesMALICIOUS_CODEEI_EXPOSE_REP2816Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(File)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE408Medium

org.apache.maven.plugin.war.HelpMojo

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugin.war.HelpMojo.goalCORRECTNESSUWF_UNWRITTEN_FIELD129Medium

org.apache.maven.plugin.war.Overlay

BugCategoryDetailsLinePriority
Invocation of hashCode on array in org.apache.maven.plugin.war.Overlay.hashCode()CORRECTNESSDMI_INVOKING_HASHCODE_ON_ARRAY277Medium
Invocation of hashCode on array in org.apache.maven.plugin.war.Overlay.hashCode()CORRECTNESSDMI_INVOKING_HASHCODE_ON_ARRAY276Medium
org.apache.maven.plugin.war.Overlay.getExcludes() may expose internal representation by returning Overlay.excludesMALICIOUS_CODEEI_EXPOSE_REP172Medium
org.apache.maven.plugin.war.Overlay.getIncludes() may expose internal representation by returning Overlay.includesMALICIOUS_CODEEI_EXPOSE_REP157Medium
org.apache.maven.plugin.war.Overlay.setExcludes(String[]) may expose internal representation by storing an externally mutable object into Overlay.excludesMALICIOUS_CODEEI_EXPOSE_REP2182Medium
org.apache.maven.plugin.war.Overlay.setIncludes(String[]) may expose internal representation by storing an externally mutable object into Overlay.includesMALICIOUS_CODEEI_EXPOSE_REP2167Medium
org.apache.maven.plugin.war.Overlay.DEFAULT_EXCLUDES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY48High
org.apache.maven.plugin.war.Overlay.DEFAULT_INCLUDES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY46High
Redundant nullcheck of org.apache.maven.plugin.war.Overlay.getId(), which is known to be non-null in org.apache.maven.plugin.war.Overlay.equals(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE260Medium
Redundant nullcheck of org.apache.maven.plugin.war.Overlay.getId(), which is known to be non-null in org.apache.maven.plugin.war.Overlay.hashCode()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE275Medium

org.apache.maven.plugin.war.WarManifestMojo

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.WarManifestMojo.execute()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE70Medium

org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask

BugCategoryDetailsLinePriority
org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask.DEFAULT_INCLUDES should be package protectedMALICIOUS_CODEMS_PKGPROTECT49Medium
exceptional return value of java.io.File.setLastModified(long) ignored in org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask.copyFile(WarPackagingContext, File, File, String, boolean)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE306Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask.copyFilteredFile(String, WarPackagingContext, File, String)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE225Medium

org.apache.maven.plugin.war.packaging.ClassesPackagingTask

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.packaging.ClassesPackagingTask.performPackaging(WarPackagingContext)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE61Medium

org.apache.maven.plugin.war.packaging.DependenciesAnalysisPackagingTask

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.war.packaging.DependenciesAnalysisPackagingTask.removeDependency(WarPackagingContext, Dependency)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE142Medium

org.apache.maven.plugin.war.packaging.OverlayPackagingTask

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdir() ignored in org.apache.maven.plugin.war.packaging.OverlayPackagingTask.getOverlayTempDirectory(WarPackagingContext, Overlay)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE143Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.packaging.OverlayPackagingTask.getOverlayTempDirectory(WarPackagingContext, Overlay)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE153Medium

org.apache.maven.plugin.war.packaging.WarProjectPackagingTask

BugCategoryDetailsLinePriority
new org.apache.maven.plugin.war.packaging.WarProjectPackagingTask(Resource[], File, File, Overlay) may expose internal representation by storing an externally mutable object into WarProjectPackagingTask.webResourcesMALICIOUS_CODEEI_EXPOSE_REP267Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.performPackaging(WarPackagingContext)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE86Medium