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

org.apache.maven.it.Embedded3xLauncher

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.it.Embedded3xLauncher.run(String[], Properties, String, File): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 228 High
org.apache.maven.it.Embedded3xLauncher.createFromMavenHome(String, String, List) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 94 Medium

org.apache.maven.it.ForkedLauncher

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.it.ForkedLauncher.run(String[], Properties, Map, String, File): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 119 High
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.it.ForkedLauncher.getMavenVersion() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 164 Medium

org.apache.maven.it.Verifier

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.it.Verifier.displayLogFile(): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 1530 High
Found reliance on default encoding in org.apache.maven.it.Verifier.displayStreamBuffers(): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 237 High
Found reliance on default encoding in org.apache.maven.it.Verifier.launchSubversion(String, String): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 796 High
Found reliance on default encoding in org.apache.maven.it.Verifier.loadFile(File, boolean): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 425 High
Found reliance on default encoding in org.apache.maven.it.Verifier.loadLines(String, String): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 388 High
Found reliance on default encoding in org.apache.maven.it.Verifier.setDebug(boolean): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 2013 High
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.it.Verifier.filterFile(String, String, String, Map) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 977 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.it.Verifier.findLocalRepo(String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1745 Medium
org.apache.maven.it.Verifier.filterFile(String, String, String, Map) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 971 Medium

org.apache.maven.it.util.ResourceExtractor

Bug Category Details Line Priority
org.apache.maven.it.util.ResourceExtractor.extractResourcePathFromJar(Class, File, String, File) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 117 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.it.util.ResourceExtractor.extractResourcePathFromJar(Class, File, String, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 132 Medium