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 |
28 |
27 |
0 |
0 |
org.oxerr.peatio.rest.PeatioAdapters
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference of null in org.oxerr.peatio.rest.PeatioAdapters.adaptTrades(Trade[]) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
163 |
Medium |
org.oxerr.peatio.rest.dto.Deposit
Bug |
Category |
Details |
Line |
Priority |
org.oxerr.peatio.rest.dto.Deposit.getCreatedAt() may expose internal representation by returning Deposit.createdAt |
MALICIOUS_CODE |
EI_EXPOSE_REP |
62 |
Medium |
org.oxerr.peatio.rest.dto.Deposit.getDoneAt() may expose internal representation by returning Deposit.doneAt |
MALICIOUS_CODE |
EI_EXPOSE_REP |
70 |
Medium |
new org.oxerr.peatio.rest.dto.Deposit(String, BigDecimal, BigDecimal, String, Date, int, Date, String) may expose internal representation by storing an externally mutable object into Deposit.createdAt |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
39 |
Medium |
new org.oxerr.peatio.rest.dto.Deposit(String, BigDecimal, BigDecimal, String, Date, int, Date, String) may expose internal representation by storing an externally mutable object into Deposit.doneAt |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
41 |
Medium |
org.oxerr.peatio.rest.dto.Depth
Bug |
Category |
Details |
Line |
Priority |
org.oxerr.peatio.rest.dto.Depth.getAsks() may expose internal representation by returning Depth.asks |
MALICIOUS_CODE |
EI_EXPOSE_REP |
30 |
Medium |
org.oxerr.peatio.rest.dto.Depth.getBids() may expose internal representation by returning Depth.bids |
MALICIOUS_CODE |
EI_EXPOSE_REP |
34 |
Medium |
org.oxerr.peatio.rest.dto.Depth.getTimestamp() may expose internal representation by returning Depth.timestamp |
MALICIOUS_CODE |
EI_EXPOSE_REP |
26 |
Medium |
new org.oxerr.peatio.rest.dto.Depth(Date, BigDecimal[][], BigDecimal[][]) may expose internal representation by storing an externally mutable object into Depth.asks |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
21 |
Medium |
new org.oxerr.peatio.rest.dto.Depth(Date, BigDecimal[][], BigDecimal[][]) may expose internal representation by storing an externally mutable object into Depth.bids |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
22 |
Medium |
new org.oxerr.peatio.rest.dto.Depth(Date, BigDecimal[][], BigDecimal[][]) may expose internal representation by storing an externally mutable object into Depth.timestamp |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
20 |
Medium |
org.oxerr.peatio.rest.dto.KWithPendingTrades
Bug |
Category |
Details |
Line |
Priority |
org.oxerr.peatio.rest.dto.KWithPendingTrades.getK() may expose internal representation by returning KWithPendingTrades.k |
MALICIOUS_CODE |
EI_EXPOSE_REP |
20 |
Medium |
org.oxerr.peatio.rest.dto.KWithPendingTrades.getTrades() may expose internal representation by returning KWithPendingTrades.trades |
MALICIOUS_CODE |
EI_EXPOSE_REP |
24 |
Medium |
new org.oxerr.peatio.rest.dto.KWithPendingTrades(BigDecimal[][], Trade[]) may expose internal representation by storing an externally mutable object into KWithPendingTrades.k |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
15 |
Medium |
new org.oxerr.peatio.rest.dto.KWithPendingTrades(BigDecimal[][], Trade[]) may expose internal representation by storing an externally mutable object into KWithPendingTrades.trades |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
16 |
Medium |
org.oxerr.peatio.rest.dto.MarketTicker
Bug |
Category |
Details |
Line |
Priority |
org.oxerr.peatio.rest.dto.MarketTicker.getAt() may expose internal representation by returning MarketTicker.at |
MALICIOUS_CODE |
EI_EXPOSE_REP |
22 |
Medium |
new org.oxerr.peatio.rest.dto.MarketTicker(Date, Ticker) may expose internal representation by storing an externally mutable object into MarketTicker.at |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
17 |
Medium |
org.oxerr.peatio.rest.dto.Member
Bug |
Category |
Details |
Line |
Priority |
org.oxerr.peatio.rest.dto.Member.getAccounts() may expose internal representation by returning Member.accounts |
MALICIOUS_CODE |
EI_EXPOSE_REP |
51 |
Medium |
new org.oxerr.peatio.rest.dto.Member(String, String, String, boolean, Account[]) may expose internal representation by storing an externally mutable object into Member.accounts |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
31 |
Medium |
org.oxerr.peatio.rest.dto.Order
Bug |
Category |
Details |
Line |
Priority |
org.oxerr.peatio.rest.dto.Order.getCreatedAt() may expose internal representation by returning Order.createdAt |
MALICIOUS_CODE |
EI_EXPOSE_REP |
99 |
Medium |
new org.oxerr.peatio.rest.dto.Order(long, String, String, BigDecimal, BigDecimal, String, String, Date, BigDecimal, BigDecimal, BigDecimal, Integer) may expose internal representation by storing an externally mutable object into Order.createdAt |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
63 |
Medium |
org.oxerr.peatio.rest.dto.OrderBook
Bug |
Category |
Details |
Line |
Priority |
org.oxerr.peatio.rest.dto.OrderBook.getAsks() may expose internal representation by returning OrderBook.asks |
MALICIOUS_CODE |
EI_EXPOSE_REP |
21 |
Medium |
org.oxerr.peatio.rest.dto.OrderBook.getBids() may expose internal representation by returning OrderBook.bids |
MALICIOUS_CODE |
EI_EXPOSE_REP |
25 |
Medium |
new org.oxerr.peatio.rest.dto.OrderBook(Order[], Order[]) may expose internal representation by storing an externally mutable object into OrderBook.asks |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
16 |
Medium |
new org.oxerr.peatio.rest.dto.OrderBook(Order[], Order[]) may expose internal representation by storing an externally mutable object into OrderBook.bids |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
17 |
Medium |
org.oxerr.peatio.rest.dto.Trade
Bug |
Category |
Details |
Line |
Priority |
org.oxerr.peatio.rest.dto.Trade.getCreatedAt() may expose internal representation by returning Trade.createdAt |
MALICIOUS_CODE |
EI_EXPOSE_REP |
76 |
Medium |
new org.oxerr.peatio.rest.dto.Trade(long, BigDecimal, BigDecimal, BigDecimal, String, Date, String, Long) may expose internal representation by storing an externally mutable object into Trade.createdAt |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
50 |
Medium |