FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
311900

org.apache.maven.archetype.mojos.CleanMojo

BugCategoryDetailsLinePriority
Read of unwritten field propertyFile in org.apache.maven.archetype.mojos.CleanMojo.execute()CORRECTNESSNP_UNWRITTEN_FIELD49Medium
org.apache.maven.archetype.mojos.CleanMojo.execute() ignores exceptional return value of java.io.File.delete()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE49Medium
Unwritten field: org.apache.maven.archetype.mojos.CleanMojo.propertyFileCORRECTNESSUWF_UNWRITTEN_FIELD49Medium

org.apache.maven.archetype.mojos.CrawlRepositoryMojo

BugCategoryDetailsLinePriority
Read of unwritten field crawler in org.apache.maven.archetype.mojos.CrawlRepositoryMojo.execute()CORRECTNESSNP_UNWRITTEN_FIELD70Medium
Unwritten field: org.apache.maven.archetype.mojos.CrawlRepositoryMojo.crawlerCORRECTNESSUWF_UNWRITTEN_FIELD70Medium
Unwritten field: org.apache.maven.archetype.mojos.CrawlRepositoryMojo.repositoryCORRECTNESSUWF_UNWRITTEN_FIELD62Medium

org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo

BugCategoryDetailsLinePriority
org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo.execute() ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE250Medium

org.apache.maven.archetype.mojos.FileLogger

BugCategoryDetailsLinePriority
The class name org.apache.maven.archetype.mojos.FileLogger shadows the simple name of the superclass org.apache.maven.shared.scriptinterpreter.FileLoggerBAD_PRACTICENM_SAME_SIMPLE_NAME_AS_SUPERCLASS47-61High

org.apache.maven.archetype.mojos.HelpMojo

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.archetype.mojos.HelpMojo.goalCORRECTNESSUWF_UNWRITTEN_FIELD76Medium

org.apache.maven.archetype.mojos.IntegrationTestMojo

BugCategoryDetailsLinePriority
org.apache.maven.archetype.mojos.IntegrationTestMojo.buildInterpolatedFile(File, File) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE634Medium
org.apache.maven.archetype.mojos.IntegrationTestMojo.invokePostArchetypeGenerationGoals(String, File, File) ignores exceptional return value of java.io.File.mkdir()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE485Medium
org.apache.maven.archetype.mojos.IntegrationTestMojo.invokePostArchetypeGenerationGoals(String, File, File) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE458Medium

org.apache.maven.archetype.mojos.IntegrationTestMojo$CompositeMap

BugCategoryDetailsLinePriority
Null pointer dereference of IntegrationTestMojo$CompositeMap.mavenProject in org.apache.maven.archetype.mojos.IntegrationTestMojo$CompositeMap.isEmpty()CORRECTNESSNP_ALWAYS_NULL785High

org.apache.maven.archetype.mojos.IntegrationTestMojo$IntegrationTestFailure

BugCategoryDetailsLinePriority
Should org.apache.maven.archetype.mojos.IntegrationTestMojo$IntegrationTestFailure be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC562-579Medium

org.apache.maven.archetype.mojos.UpdateLocalCatalogMojo

BugCategoryDetailsLinePriority
Read of unwritten field manager in org.apache.maven.archetype.mojos.UpdateLocalCatalogMojo.execute()CORRECTNESSNP_UNWRITTEN_FIELD69Medium
Read of unwritten field project in org.apache.maven.archetype.mojos.UpdateLocalCatalogMojo.execute()CORRECTNESSNP_UNWRITTEN_FIELD56Medium
Unwritten field: org.apache.maven.archetype.mojos.UpdateLocalCatalogMojo.managerCORRECTNESSUWF_UNWRITTEN_FIELD69Medium
Unwritten field: org.apache.maven.archetype.mojos.UpdateLocalCatalogMojo.projectCORRECTNESSUWF_UNWRITTEN_FIELD56Medium

org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfigurator

BugCategoryDetailsLinePriority
Unused field: org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfigurator.oldArchetypePERFORMANCEUUF_UNUSED_FIELDNot availableMedium