Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
30 7 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 232 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
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 630 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 481 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 449 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 782 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 558-575 Medium