Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.11

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
73 10 0 0

Files

Class Bugs
it.tidalwave.util.spi.AsDelegateProvider$EmptyAsDelegateProvider 1
it.tidalwave.util.spi.DefaultProcessExecutor 3
it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput 6

it.tidalwave.util.spi.AsDelegateProvider$EmptyAsDelegateProvider

Bug Category Details Line Priority

it.tidalwave.util.spi.DefaultProcessExecutor

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase() in it.tidalwave.util.spi.DefaultProcessExecutor.isWindows() I18N DM_CONVERT_CASE 485 Low
Found reliance on default encoding in it.tidalwave.util.spi.DefaultProcessExecutor.start(): new java.io.PrintWriter(OutputStream, boolean) I18N DM_DEFAULT_ENCODING 430 High
Useless control flow in it.tidalwave.util.spi.DefaultProcessExecutor.waitForCompletion() STYLE UCF_USELESS_CONTROL_FLOW 457 Low

it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput

Bug Category Details Line Priority
Found reliance on default encoding in it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput.read(): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 282 High
Naked notify in it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput.read() MT_CORRECTNESS NN_NAKED_NOTIFY 321 Medium
Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput.start() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 160 Low
Unconditional wait in it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput.waitFor(String) MT_CORRECTNESS UW_UNCOND_WAIT 255 Low
Increment of volatile field it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput.li in it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput.read() MT_CORRECTNESS VO_VOLATILE_INCREMENT 302 Medium
Increment of volatile field it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput.li in it.tidalwave.util.spi.DefaultProcessExecutor$DefaultConsoleOutput.read() MT_CORRECTNESS VO_VOLATILE_INCREMENT 316 Medium