FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
33 12 0 0

it.jnrpe.plugin.CCheckFile

Bug Category Details Line Priority
Found reliance on default encoding in it.jnrpe.plugin.CCheckFile.checkContains(ICommandLine, File, ReturnValue): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 222 High
Found reliance on default encoding in it.jnrpe.plugin.CCheckFile.checkNotContains(ICommandLine, File, ReturnValue): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 287 High

it.jnrpe.plugin.CCheckOracle

Bug Category Details Line Priority
it.jnrpe.plugin.CCheckOracle.checkCache(Connection, ICommandLine) may fail to clean up java.sql.ResultSet EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 203 Medium
it.jnrpe.plugin.CCheckOracle.checkTablespace(Connection, ICommandLine) passes a nonconstant String to an execute method on an SQL statement SECURITY SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE 149 High

it.jnrpe.plugin.CNativePlugin

Bug Category Details Line Priority
Found reliance on default encoding in it.jnrpe.plugin.CNativePlugin.execute(ICommandLine): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 59 High

it.jnrpe.plugin.CheckBySsh

Bug Category Details Line Priority
Nullcheck of channel at line 115 of value previously dereferenced in it.jnrpe.plugin.CheckBySsh.gatherMetrics(ICommandLine) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 115 Medium

it.jnrpe.plugin.CheckUsers

Bug Category Details Line Priority
Found reliance on default encoding in it.jnrpe.plugin.CheckUsers.getWindowsLoggedInUsers(): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 154 High

it.jnrpe.plugin.jmx.CCheckJMX

Bug Category Details Line Priority
Found reliance on default encoding in it.jnrpe.plugin.jmx.CCheckJMX.execute(ICommandLine): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 80 High
Found reliance on default encoding in it.jnrpe.plugin.jmx.CCheckJMX.execute(ICommandLine): new String(byte[]) I18N DM_DEFAULT_ENCODING 84 High

it.jnrpe.plugin.jmx.JMXQuery

Bug Category Details Line Priority
Found reliance on default encoding in it.jnrpe.plugin.jmx.JMXQuery.printHelp(PrintStream): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 345 High

it.jnrpe.plugin.utils.HttpUtils

Bug Category Details Line Priority
Found reliance on default encoding in it.jnrpe.plugin.utils.HttpUtils.parseHttpResponse(HttpURLConnection, boolean, boolean): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 183 High
Found reliance on default encoding in it.jnrpe.plugin.utils.HttpUtils.sendPostData(HttpURLConnection, String): String.getBytes() I18N DM_DEFAULT_ENCODING 112 High