SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.1

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
21 8 0 0

Files

Class Bugs
org.waarp.commandexec.client.LocalExecClientHandler 3
org.waarp.commandexec.server.LocalExecServerHandler 2
org.waarp.commandexec.ssl.client.LocalExecSslClientHandler 1
org.waarp.commandexec.utils.LocalExecResult 2

org.waarp.commandexec.client.LocalExecClientHandler

Bug Category Details Line Priority
Transtypage non vérifié/non confirmé de Exception vers cause dans org.waarp.commandexec.client.LocalExecClientHandler.exceptionCaught(ChannelHandlerContext, Throwable) STYLE BC_UNCONFIRMED_CAST 213 Medium
La méthode org.waarp.commandexec.client.LocalExecClientHandler.waitFor(long) risque d'exposer sa représentation interne en renvoyant org.waarp.commandexec.client.LocalExecClientHandler.result MALICIOUS_CODE EI_EXPOSE_REP 152 Medium
La méthode new org.waarp.commandexec.client.LocalExecClientHandler(LocalExecClientInitializer) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.waarp.commandexec.client.LocalExecClientHandler.factory MALICIOUS_CODE EI_EXPOSE_REP2 59 Medium

org.waarp.commandexec.server.LocalExecServerHandler

Bug Category Details Line Priority
La méthode new org.waarp.commandexec.server.LocalExecServerHandler(LocalExecServerInitializer, long) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.waarp.commandexec.server.LocalExecServerHandler.factory MALICIOUS_CODE EI_EXPOSE_REP2 172 Medium
org.waarp.commandexec.server.LocalExecServerHandler.isShutdown devrait être package protected MALICIOUS_CODE MS_PKGPROTECT Not available Medium

org.waarp.commandexec.ssl.client.LocalExecSslClientHandler

Bug Category Details Line Priority
Transtypage non vérifié/non confirmé de Exception vers cause dans org.waarp.commandexec.ssl.client.LocalExecSslClientHandler.exceptionCaught(ChannelHandlerContext, Throwable) STYLE BC_UNCONFIRMED_CAST 64 Medium

org.waarp.commandexec.utils.LocalExecResult

Bug Category Details Line Priority
La méthode org.waarp.commandexec.utils.LocalExecResult.getException() risque d'exposer sa représentation interne en renvoyant org.waarp.commandexec.utils.LocalExecResult.exception MALICIOUS_CODE EI_EXPOSE_REP 107 Medium
La méthode org.waarp.commandexec.utils.LocalExecResult.setException(Exception) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.waarp.commandexec.utils.LocalExecResult.exception MALICIOUS_CODE EI_EXPOSE_REP2 114 Medium