FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is low
Effort is max
Summary
Classes | Bugs | Errors | Missing Classes |
---|
95 | 14 | 0 | 0 |
it.jnrpe.JNRPE
Bug | Category | Details | Line | Priority |
---|
Unread field: it.jnrpe.JNRPE.charset | PERFORMANCE | URF_UNREAD_FIELD | 164 | Low |
it.jnrpe.commands.CommandInvoker
Bug | Category | Details | Line | Priority |
---|
Redundant nullcheck of commandLine, which is known to be non-null in it.jnrpe.commands.CommandInvoker.invoke(CommandDefinition, String[]) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 146 | Medium |
it.jnrpe.net.JNRPEProtocolPacket
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in it.jnrpe.net.JNRPEProtocolPacket.getPacketString(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 205 | High |
Found reliance on default encoding in it.jnrpe.net.JNRPEProtocolPacket.getPacketString(): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 207 | High |
it.jnrpe.net.JNRPERequestDecoder
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in it.jnrpe.net.JNRPERequestDecoder.ztString2String(byte[]): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 158 | High |
Switch statement found in it.jnrpe.net.JNRPERequestDecoder.decode(ChannelHandlerContext, ByteBuf, List) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 104-107 | Low |
it.jnrpe.net.JNRPEServerHandler
Bug | Category | Details | Line | Priority |
---|
Redundant nullcheck of ret, which is known to be non-null in it.jnrpe.net.JNRPEServerHandler.channelRead(ChannelHandlerContext, Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 74 | Medium |
it.jnrpe.plugins.PluginProxy
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in it.jnrpe.plugins.PluginProxy.printHelp(): new java.io.PrintWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 174 | High |
it.jnrpe.utils.StreamManager
Bug | Category | Details | Line | Priority |
---|
it.jnrpe.utils.StreamManager.closeAll() might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 140 | Low |
it.jnrpe.utils.thresholds.Prefixes
Bug | Category | Details | Line | Priority |
---|
Use of non-localized String.toUpperCase() or String.toLowerCase in it.jnrpe.utils.thresholds.Prefixes.fromString(String) | I18N | DM_CONVERT_CASE | 265 | Low |
it.jnrpe.utils.thresholds.RangeException
Bug | Category | Details | Line | Priority |
---|
Class it.jnrpe.utils.thresholds.RangeException defines non-transient non-serializable instance field failedStage | BAD_PRACTICE | SE_BAD_FIELD | Not available | Low |
it.jnrpe.utils.thresholds.Threshold
Bug | Category | Details | Line | Priority |
---|
Use of non-localized String.toUpperCase() or String.toLowerCase in it.jnrpe.utils.thresholds.Threshold.parse(String) | I18N | DM_CONVERT_CASE | 170 | Low |
Redundant nullcheck of nameValuePair, which is known to be non-null in it.jnrpe.utils.thresholds.Threshold.parse(String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 133 | Low |