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
9 16 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 196 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 132 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 177 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 1520 High
Found reliance on default encoding in org.apache.maven.it.Verifier.displayStreamBuffers(): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 235 High
Found reliance on default encoding in org.apache.maven.it.Verifier.getReader(String, String): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 390 High
Found reliance on default encoding in org.apache.maven.it.Verifier.launchSubversion(String, String): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 772 High
Found reliance on default encoding in org.apache.maven.it.Verifier.loadFile(File, boolean): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 407 High
Found reliance on default encoding in org.apache.maven.it.Verifier.setDebug(boolean): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 1996 High
Possible null pointer dereference in org.apache.maven.it.Verifier.addMetadataToList(File, boolean, List, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 498 Medium
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 952 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 1728 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 946 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