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
10 6 0 0

org.sonatype.install4j.maven.AntHelper

Bug Category Details Line Priority
org.sonatype.install4j.maven.AntHelper.inheritProperties() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 85 Medium

org.sonatype.install4j.maven.CompileMojo

Bug Category Details Line Priority
Found reliance on default encoding in org.sonatype.install4j.maven.CompileMojo.parseAttachedFiles(): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 395 High
org.sonatype.install4j.maven.CompileMojo.parseAttachedFiles() may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 395 Medium
org.sonatype.install4j.maven.CompileMojo.writeVariablesToFile(Properties, File) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 333 Medium

org.sonatype.install4j.maven.HelpMojo

Bug Category Details Line Priority
Unwritten field: org.sonatype.install4j.maven.HelpMojo.goal CORRECTNESS UWF_UNWRITTEN_FIELD 129 Medium

org.sonatype.install4j.maven.MavenAntLoggerAdapter

Bug Category Details Line Priority
Switch statement found in org.sonatype.install4j.maven.MavenAntLoggerAdapter.printMessage(String, PrintStream, int) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 41-56 Medium