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
50 20 0 0

org.oxerr.huobi.rest.domain.Delegation

Bug Category Details Line Priority
org.oxerr.huobi.rest.domain.Delegation.getDate() may expose internal representation by returning Delegation.date MALICIOUS_CODE EI_EXPOSE_REP 59 Medium
org.oxerr.huobi.rest.domain.Delegation.setDate(Date) may expose internal representation by storing an externally mutable object into Delegation.date MALICIOUS_CODE EI_EXPOSE_REP2 63 Medium

org.oxerr.huobi.rest.domain.Depth

Bug Category Details Line Priority
org.oxerr.huobi.rest.domain.Depth.setMarketdepth(Depth$Marketdepth[]) may expose internal representation by storing an externally mutable object into Depth.marketdepth MALICIOUS_CODE EI_EXPOSE_REP2 26 Medium

org.oxerr.huobi.rest.domain.Depth$Marketdepth

Bug Category Details Line Priority
org.oxerr.huobi.rest.domain.Depth$Marketdepth.getData() may expose internal representation by returning Depth$Marketdepth.data MALICIOUS_CODE EI_EXPOSE_REP 46 Medium

org.oxerr.huobi.rest.domain.Depth$Marketdepth$Data

Bug Category Details Line Priority
new org.oxerr.huobi.rest.domain.Depth$Marketdepth$Data(BigDecimal[]) may expose internal representation by storing an externally mutable object into Depth$Marketdepth$Data.points MALICIOUS_CODE EI_EXPOSE_REP2 63 Medium

org.oxerr.huobi.rest.dto.marketdata.Depth

Bug Category Details Line Priority
org.oxerr.huobi.rest.dto.marketdata.Depth.getAsks() may expose internal representation by returning Depth.asks MALICIOUS_CODE EI_EXPOSE_REP 20 Medium
org.oxerr.huobi.rest.dto.marketdata.Depth.getBids() may expose internal representation by returning Depth.bids MALICIOUS_CODE EI_EXPOSE_REP 24 Medium
new org.oxerr.huobi.rest.dto.marketdata.Depth(BigDecimal[][], BigDecimal[][]) may expose internal representation by storing an externally mutable object into Depth.asks MALICIOUS_CODE EI_EXPOSE_REP2 15 Medium
new org.oxerr.huobi.rest.dto.marketdata.Depth(BigDecimal[][], BigDecimal[][]) may expose internal representation by storing an externally mutable object into Depth.bids MALICIOUS_CODE EI_EXPOSE_REP2 16 Medium

org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS

Bug Category Details Line Priority
org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS.getBuys() may expose internal representation by returning OrderBookTAS.buys MALICIOUS_CODE EI_EXPOSE_REP 115 Medium
org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS.getSells() may expose internal representation by returning OrderBookTAS.sells MALICIOUS_CODE EI_EXPOSE_REP 111 Medium
org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS.getTopBuy() may expose internal representation by returning OrderBookTAS.topBuy MALICIOUS_CODE EI_EXPOSE_REP 163 Medium
org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS.getTopSell() may expose internal representation by returning OrderBookTAS.topSell MALICIOUS_CODE EI_EXPOSE_REP 159 Medium
org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS.getTrades() may expose internal representation by returning OrderBookTAS.trades MALICIOUS_CODE EI_EXPOSE_REP 119 Medium
new org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS(OrderBookObject[], OrderBookObject[], TradeObject[], BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, TopObject[], TopObject[]) may expose internal representation by storing an externally mutable object into OrderBookTAS.buys MALICIOUS_CODE EI_EXPOSE_REP2 95 Medium
new org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS(OrderBookObject[], OrderBookObject[], TradeObject[], BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, TopObject[], TopObject[]) may expose internal representation by storing an externally mutable object into OrderBookTAS.sells MALICIOUS_CODE EI_EXPOSE_REP2 94 Medium
new org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS(OrderBookObject[], OrderBookObject[], TradeObject[], BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, TopObject[], TopObject[]) may expose internal representation by storing an externally mutable object into OrderBookTAS.topBuy MALICIOUS_CODE EI_EXPOSE_REP2 107 Medium
new org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS(OrderBookObject[], OrderBookObject[], TradeObject[], BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, TopObject[], TopObject[]) may expose internal representation by storing an externally mutable object into OrderBookTAS.topSell MALICIOUS_CODE EI_EXPOSE_REP2 106 Medium
new org.oxerr.huobi.rest.dto.marketdata.OrderBookTAS(OrderBookObject[], OrderBookObject[], TradeObject[], BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, TopObject[], TopObject[]) may expose internal representation by storing an externally mutable object into OrderBookTAS.trades MALICIOUS_CODE EI_EXPOSE_REP2 96 Medium

org.oxerr.huobi.rest.valuereader.LoginResultReader

Bug Category Details Line Priority
Switch statement found in org.oxerr.huobi.rest.valuereader.LoginResultReader.parse(HTMLDocument) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 52-54 Medium