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
8 21 0 2

org.devzendo.xplp.CreateLauncherMojo

Bug Category Details Line Priority
org.devzendo.xplp.CreateLauncherMojo.__cobertura_counters should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available Medium

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
org.devzendo.xplp.LauncherCreator.__cobertura_counters should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available 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.LinuxLauncherCreator

Bug Category Details Line Priority
org.devzendo.xplp.LinuxLauncherCreator.__cobertura_counters should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available Medium

org.devzendo.xplp.MacOSXAppLauncherCreator

Bug Category Details Line Priority
org.devzendo.xplp.MacOSXAppLauncherCreator.__cobertura_counters should be package protected MALICIOUS_CODE MS_PKGPROTECT 41 Medium
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.MacOSXScriptLauncherCreator

Bug Category Details Line Priority
org.devzendo.xplp.MacOSXScriptLauncherCreator.__cobertura_counters should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available Medium

org.devzendo.xplp.PropertiesInterpolator

Bug Category Details Line Priority
org.devzendo.xplp.PropertiesInterpolator.__cobertura_counters should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available Medium

org.devzendo.xplp.UnixScriptLauncherCreator

Bug Category Details Line Priority
org.devzendo.xplp.UnixScriptLauncherCreator.__cobertura_counters should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available Medium
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[]) may expose internal representation by storing an externally mutable object into WindowsLauncherCreator.mJanelCustomLines MALICIOUS_CODE EI_EXPOSE_REP2 75 Medium
org.devzendo.xplp.WindowsLauncherCreator.__cobertura_counters should be package protected MALICIOUS_CODE MS_PKGPROTECT 36 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.devzendo.xplp.WindowsLauncherCreator.createLauncher() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 105 Medium