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
421200

org.apache.maven.plugin.ear.AbstractEarModule

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugin.ear.AbstractEarModule.moduleIdCORRECTNESSUWF_UNWRITTEN_FIELD138Medium
Unwritten public or protected field: org.apache.maven.plugin.ear.AbstractEarModule.altDeploymentDescriptorSTYLEUWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD224Medium

org.apache.maven.plugin.ear.ApplicationXmlWriter

BugCategoryDetailsLinePriority
Possible null pointer dereference of writer in org.apache.maven.plugin.ear.ApplicationXmlWriter.write(ApplicationXmlWriterContext)CORRECTNESSNP_NULL_ON_SOME_PATH135Medium

org.apache.maven.plugin.ear.EarMojo

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.plugin.ear.EarMojo.changeManifestClasspath(EarModule, File): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING692High
Found reliance on default encoding in org.apache.maven.plugin.ear.EarMojo.changeManifestClasspath(EarModule, File): new java.io.PrintWriter(File)I18NDM_DEFAULT_ENCODING740High
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.ear.EarMojo.changeManifestClasspath(EarModule, File)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE664Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.ear.EarMojo.copyFile(File, File)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE613Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.ear.EarMojo.execute()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE321Medium

org.apache.maven.plugin.ear.GenerateApplicationXmlMojo

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.ear.GenerateApplicationXmlMojo.generateJbossDeploymentDescriptor()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE231Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.ear.GenerateApplicationXmlMojo.generateStandardDeploymentDescriptor(JavaEEVersion)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE209Medium

org.apache.maven.plugin.ear.HelpMojo

BugCategoryDetailsLinePriority
org.apache.maven.plugin.ear.HelpMojo.build() may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION68Medium

org.apache.maven.plugin.ear.util.JavaEEVersion

BugCategoryDetailsLinePriority
org.apache.maven.plugin.ear.util.JavaEEVersion defines compareTo(JavaEEVersion) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS175-179Medium