FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.2

Threshold is experimental

Effort is max

Summary

Classes Bugs Errors Missing Classes
6 11 0 0

net.sf.mbus4j.slaves.Slave

Bug Category Details Line Priority
Incompatible bit masks in (e & 0xff == 0xfffffffffffffffd) yields a constant result in net.sf.mbus4j.slaves.Slave.handleSelectionOfSlaves(SelectionOfSlaves) CORRECTNESS BIT_AND 278 High
Incompatible bit masks in (e & 0xff == 0xfffffffffffffffd) yields a constant result in net.sf.mbus4j.slaves.Slave.willHandleRequest(Frame) CORRECTNESS BIT_AND 261 High
Incompatible bit masks in (e & 0xff == 0xfffffffffffffffd) yields a constant result in net.sf.mbus4j.slaves.Slave.willHandleRequest(Frame) CORRECTNESS BIT_AND 263 High
net.sf.mbus4j.slaves.Slave.getStatus() may expose internal representation by returning Slave.status MALICIOUS_CODE EI_EXPOSE_REP 148 Medium
net.sf.mbus4j.slaves.Slave.setStatus(UserDataResponse$StatusCode[]) may expose internal representation by storing an externally mutable object into Slave.status MALICIOUS_CODE EI_EXPOSE_REP2 153 Medium
Bad comparison of nonnegative value with -3 in net.sf.mbus4j.slaves.Slave.handleSelectionOfSlaves(SelectionOfSlaves) CORRECTNESS INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE 278 High
Bad comparison of nonnegative value with -3 in net.sf.mbus4j.slaves.Slave.willHandleRequest(Frame) CORRECTNESS INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE 261 High

net.sf.mbus4j.slaves.Slaves

Bug Category Details Line Priority
Dead store to result in net.sf.mbus4j.slaves.Slaves.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 320 Medium
Found reliance on default encoding in net.sf.mbus4j.slaves.Slaves.main(String[]): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 319 High

net.sf.mbus4j.slaves.Slaves$RequestHandler

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in net.sf.mbus4j.slaves.Slaves$RequestHandler.call() STYLE REC_CATCH_EXCEPTION 234 Low

net.sf.mbus4j.slaves.Slaves$StreamListener

Bug Category Details Line Priority
exceptional return value of java.util.concurrent.ThreadPoolExecutor.submit(Callable) ignored in net.sf.mbus4j.slaves.Slaves$StreamListener.success(Frame) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 299 Medium