FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
9 13 0 0

org.devzendo.xplp.LauncherCreator

Bug Category Details Line Priority
Found reliance on default encoding in org.devzendo.xplp.LauncherCreator.copyInterpolatedPluginResource(String, File): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 440 High
Found reliance on default encoding in org.devzendo.xplp.LauncherCreator.copyInterpolatedProjectResource(String, File): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 429 High
Found reliance on default encoding in org.devzendo.xplp.LauncherCreator.createFileWriter(File): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 495 High
new org.devzendo.xplp.LauncherCreator(AbstractMojo, File, String, String, String, Set, Set, Properties, String[], String[], String[]) may expose internal representation by storing an externally mutable object into LauncherCreator.mNarClassifierTypes MALICIOUS_CODE EI_EXPOSE_REP2 98 Medium
new org.devzendo.xplp.LauncherCreator(AbstractMojo, File, String, String, String, Set, Set, Properties, String[], String[], String[]) may expose internal representation by storing an externally mutable object into LauncherCreator.mSystemProperties MALICIOUS_CODE EI_EXPOSE_REP2 96 Medium
new org.devzendo.xplp.LauncherCreator(AbstractMojo, File, String, String, String, Set, Set, Properties, String[], String[], String[]) may expose internal representation by storing an externally mutable object into LauncherCreator.mVmArguments MALICIOUS_CODE EI_EXPOSE_REP2 97 Medium
Possible null pointer dereference in org.devzendo.xplp.LauncherCreator.copyNarClassifierType(Artifact, File, String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 404 Medium
org.devzendo.xplp.LauncherCreator.copyFileWithRename(File, File, String) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 280 Medium
org.devzendo.xplp.LauncherCreator.copyFileWithRename(File, File, String) may fail to clean up java.io.OutputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 289 Medium

org.devzendo.xplp.MacOSXAppLauncherCreator

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.devzendo.xplp.MacOSXAppLauncherCreator.createLauncher() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 146 Medium

org.devzendo.xplp.UnixScriptLauncherCreator

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.devzendo.xplp.UnixScriptLauncherCreator.createLauncher() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 85 Medium

org.devzendo.xplp.WindowsLauncherCreator

Bug Category Details Line Priority
new org.devzendo.xplp.WindowsLauncherCreator(AbstractMojo, File, String, String, String, Set, Set, Properties, String[], String[], String[], String, String, String, String[], String) may expose internal representation by storing an externally mutable object into WindowsLauncherCreator.mJanelCustomLines MALICIOUS_CODE EI_EXPOSE_REP2 84 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.devzendo.xplp.WindowsLauncherCreator.createLauncher() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 145 Medium