Fork me on GitHub

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
29 9 0 0

org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo.execute() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 236 Medium

org.apache.maven.archetype.mojos.FileLogger

Bug Category Details Line Priority
The class name org.apache.maven.archetype.mojos.FileLogger shadows the simple name of the superclass org.apache.maven.shared.scriptinterpreter.FileLogger BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_SUPERCLASS 47-61 High

org.apache.maven.archetype.mojos.IntegrationTestMojo

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.archetype.mojos.IntegrationTestMojo.contentEquals(File, File): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 431 High
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.archetype.mojos.IntegrationTestMojo.buildInterpolatedFile(File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 818 Medium
Exceptional return value of java.io.File.mkdir() ignored in org.apache.maven.archetype.mojos.IntegrationTestMojo.invokePostArchetypeGenerationGoals(String, File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 669 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.archetype.mojos.IntegrationTestMojo.invokePostArchetypeGenerationGoals(String, File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 640 Medium

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

Bug Category Details Line Priority
Null pointer dereference of IntegrationTestMojo$CompositeMap.mavenProject in org.apache.maven.archetype.mojos.IntegrationTestMojo$CompositeMap.isEmpty() CORRECTNESS NP_ALWAYS_NULL 970 High

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

Bug Category Details Line Priority
Should org.apache.maven.archetype.mojos.IntegrationTestMojo$IntegrationTestFailure be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 746-763 Medium

org.apache.maven.archetype.ui.generation.DefaultArchetypeSelectionQueryer

Bug Category Details Line Priority
Useless object stored in variable answers of method org.apache.maven.archetype.ui.generation.DefaultArchetypeSelectionQueryer.selectArchetype(Map, ArchetypeDefinition) STYLE UC_USELESS_OBJECT 80 Medium