FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
37 69 0 0

org.oxerr.youzan.dto.item.GoodsDetail

Bug Category Details Line Priority
org.oxerr.youzan.dto.item.GoodsDetail.getItemImgs() may expose internal representation by returning GoodsDetail.itemImgs MALICIOUS_CODE EI_EXPOSE_REP 621 Medium
org.oxerr.youzan.dto.item.GoodsDetail.getItemQrcodes() may expose internal representation by returning GoodsDetail.itemQrcodes MALICIOUS_CODE EI_EXPOSE_REP 413 Medium
org.oxerr.youzan.dto.item.GoodsDetail.getItemTags() may expose internal representation by returning GoodsDetail.itemTags MALICIOUS_CODE EI_EXPOSE_REP 605 Medium
org.oxerr.youzan.dto.item.GoodsDetail.getMessages() may expose internal representation by returning GoodsDetail.messages MALICIOUS_CODE EI_EXPOSE_REP 701 Medium
org.oxerr.youzan.dto.item.GoodsDetail.getSkus() may expose internal representation by returning GoodsDetail.skus MALICIOUS_CODE EI_EXPOSE_REP 405 Medium
org.oxerr.youzan.dto.item.GoodsDetail.getUmpLevel() may expose internal representation by returning GoodsDetail.umpLevel MALICIOUS_CODE EI_EXPOSE_REP 421 Medium
org.oxerr.youzan.dto.item.GoodsDetail.getUmpLevelText() may expose internal representation by returning GoodsDetail.umpLevelText MALICIOUS_CODE EI_EXPOSE_REP 549 Medium
org.oxerr.youzan.dto.item.GoodsDetail.getUmpTags() may expose internal representation by returning GoodsDetail.umpTags MALICIOUS_CODE EI_EXPOSE_REP 573 Medium
org.oxerr.youzan.dto.item.GoodsDetail.getUmpTagsText() may expose internal representation by returning GoodsDetail.umpTagsText MALICIOUS_CODE EI_EXPOSE_REP 517 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.itemImgs MALICIOUS_CODE EI_EXPOSE_REP2 354 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.itemQrcodes MALICIOUS_CODE EI_EXPOSE_REP2 328 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.itemTags MALICIOUS_CODE EI_EXPOSE_REP2 352 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.messages MALICIOUS_CODE EI_EXPOSE_REP2 364 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.skus MALICIOUS_CODE EI_EXPOSE_REP2 327 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.umpLevel MALICIOUS_CODE EI_EXPOSE_REP2 329 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.umpLevelText MALICIOUS_CODE EI_EXPOSE_REP2 345 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.umpTags MALICIOUS_CODE EI_EXPOSE_REP2 348 Medium
new org.oxerr.youzan.dto.item.GoodsDetail(Boolean, Instant, String, BigDecimal, GoodsSku[], GoodsQrcode[], String[], Long, Long, Integer, Long, String, String, Long, String, String, String, Integer, String[], BigDecimal, String, Integer, String[], String, Long, String[], String, Boolean, Long, GoodsTag[], Instant, GoodsImage[], Boolean, Boolean, Long, String, String, String, String, Long, Boolean, Map[], Long, String, String, Long, String) may expose internal representation by storing an externally mutable object into GoodsDetail.umpTagsText MALICIOUS_CODE EI_EXPOSE_REP2 341 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setItemImgs(GoodsImage[]) may expose internal representation by storing an externally mutable object into GoodsDetail.itemImgs MALICIOUS_CODE EI_EXPOSE_REP2 625 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setItemQrcodes(GoodsQrcode[]) may expose internal representation by storing an externally mutable object into GoodsDetail.itemQrcodes MALICIOUS_CODE EI_EXPOSE_REP2 417 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setItemTags(GoodsTag[]) may expose internal representation by storing an externally mutable object into GoodsDetail.itemTags MALICIOUS_CODE EI_EXPOSE_REP2 609 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setMessages(Map[]) may expose internal representation by storing an externally mutable object into GoodsDetail.messages MALICIOUS_CODE EI_EXPOSE_REP2 705 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setSkus(GoodsSku[]) may expose internal representation by storing an externally mutable object into GoodsDetail.skus MALICIOUS_CODE EI_EXPOSE_REP2 409 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setUmpLevel(String[]) may expose internal representation by storing an externally mutable object into GoodsDetail.umpLevel MALICIOUS_CODE EI_EXPOSE_REP2 425 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setUmpLevelText(String[]) may expose internal representation by storing an externally mutable object into GoodsDetail.umpLevelText MALICIOUS_CODE EI_EXPOSE_REP2 553 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setUmpTags(String[]) may expose internal representation by storing an externally mutable object into GoodsDetail.umpTags MALICIOUS_CODE EI_EXPOSE_REP2 577 Medium
org.oxerr.youzan.dto.item.GoodsDetail.setUmpTagsText(String[]) may expose internal representation by storing an externally mutable object into GoodsDetail.umpTagsText MALICIOUS_CODE EI_EXPOSE_REP2 521 Medium

org.oxerr.youzan.dto.item.Items

Bug Category Details Line Priority
org.oxerr.youzan.dto.item.Items.getItems() may expose internal representation by returning Items.items MALICIOUS_CODE EI_EXPOSE_REP 18 Medium
new org.oxerr.youzan.dto.item.Items(GoodsDetail[]) may expose internal representation by storing an externally mutable object into Items.items MALICIOUS_CODE EI_EXPOSE_REP2 14 Medium
org.oxerr.youzan.dto.item.Items.setItems(GoodsDetail[]) may expose internal representation by storing an externally mutable object into Items.items MALICIOUS_CODE EI_EXPOSE_REP2 22 Medium

org.oxerr.youzan.dto.item.Skus

Bug Category Details Line Priority
org.oxerr.youzan.dto.item.Skus.getSkus() may expose internal representation by returning Skus.skus MALICIOUS_CODE EI_EXPOSE_REP 18 Medium
new org.oxerr.youzan.dto.item.Skus(GoodsSku[]) may expose internal representation by storing an externally mutable object into Skus.skus MALICIOUS_CODE EI_EXPOSE_REP2 14 Medium
org.oxerr.youzan.dto.item.Skus.setSkus(GoodsSku[]) may expose internal representation by storing an externally mutable object into Skus.skus MALICIOUS_CODE EI_EXPOSE_REP2 22 Medium

org.oxerr.youzan.dto.item.TradeDetail

Bug Category Details Line Priority
org.oxerr.youzan.dto.item.TradeDetail.getCouponDetails() may expose internal representation by returning TradeDetail.couponDetails MALICIOUS_CODE EI_EXPOSE_REP 746 Medium
org.oxerr.youzan.dto.item.TradeDetail.getOrders() may expose internal representation by returning TradeDetail.orders MALICIOUS_CODE EI_EXPOSE_REP 634 Medium
org.oxerr.youzan.dto.item.TradeDetail.getOutTradeNo() may expose internal representation by returning TradeDetail.outTradeNo MALICIOUS_CODE EI_EXPOSE_REP 626 Medium
org.oxerr.youzan.dto.item.TradeDetail.getPromotionDetails() may expose internal representation by returning TradeDetail.promotionDetails MALICIOUS_CODE EI_EXPOSE_REP 642 Medium
org.oxerr.youzan.dto.item.TradeDetail.getRelations() may expose internal representation by returning TradeDetail.relations MALICIOUS_CODE EI_EXPOSE_REP 874 Medium
org.oxerr.youzan.dto.item.TradeDetail.getSubTrades() may expose internal representation by returning TradeDetail.subTrades MALICIOUS_CODE EI_EXPOSE_REP 594 Medium
new org.oxerr.youzan.dto.item.TradeDetail(Instant, String, Long, AdjustFee, String, String, Long, String, Integer, Long, BigDecimal, BigDecimal, BigDecimal, Long, TradeDetail[], String, Instant, Instant, String[], TradeOrder[], TradePromotion[], String, String, BigDecimal, String, String, String, BigDecimal, Long, String, BigDecimal, String, Instant, UmpTradeCoupon[], String, String, String, BigDecimal, TradeFetch, Integer, String, String, String, Instant, Integer, String, Integer, String, String, String[], String) may expose internal representation by storing an externally mutable object into TradeDetail.couponDetails MALICIOUS_CODE EI_EXPOSE_REP2 461 Medium
new org.oxerr.youzan.dto.item.TradeDetail(Instant, String, Long, AdjustFee, String, String, Long, String, Integer, Long, BigDecimal, BigDecimal, BigDecimal, Long, TradeDetail[], String, Instant, Instant, String[], TradeOrder[], TradePromotion[], String, String, BigDecimal, String, String, String, BigDecimal, Long, String, BigDecimal, String, Instant, UmpTradeCoupon[], String, String, String, BigDecimal, TradeFetch, Integer, String, String, String, Instant, Integer, String, Integer, String, String, String[], String) may expose internal representation by storing an externally mutable object into TradeDetail.orders MALICIOUS_CODE EI_EXPOSE_REP2 447 Medium
new org.oxerr.youzan.dto.item.TradeDetail(Instant, String, Long, AdjustFee, String, String, Long, String, Integer, Long, BigDecimal, BigDecimal, BigDecimal, Long, TradeDetail[], String, Instant, Instant, String[], TradeOrder[], TradePromotion[], String, String, BigDecimal, String, String, String, BigDecimal, Long, String, BigDecimal, String, Instant, UmpTradeCoupon[], String, String, String, BigDecimal, TradeFetch, Integer, String, String, String, Instant, Integer, String, Integer, String, String, String[], String) may expose internal representation by storing an externally mutable object into TradeDetail.outTradeNo MALICIOUS_CODE EI_EXPOSE_REP2 446 Medium
new org.oxerr.youzan.dto.item.TradeDetail(Instant, String, Long, AdjustFee, String, String, Long, String, Integer, Long, BigDecimal, BigDecimal, BigDecimal, Long, TradeDetail[], String, Instant, Instant, String[], TradeOrder[], TradePromotion[], String, String, BigDecimal, String, String, String, BigDecimal, Long, String, BigDecimal, String, Instant, UmpTradeCoupon[], String, String, String, BigDecimal, TradeFetch, Integer, String, String, String, Instant, Integer, String, Integer, String, String, String[], String) may expose internal representation by storing an externally mutable object into TradeDetail.promotionDetails MALICIOUS_CODE EI_EXPOSE_REP2 448 Medium
new org.oxerr.youzan.dto.item.TradeDetail(Instant, String, Long, AdjustFee, String, String, Long, String, Integer, Long, BigDecimal, BigDecimal, BigDecimal, Long, TradeDetail[], String, Instant, Instant, String[], TradeOrder[], TradePromotion[], String, String, BigDecimal, String, String, String, BigDecimal, Long, String, BigDecimal, String, Instant, UmpTradeCoupon[], String, String, String, BigDecimal, TradeFetch, Integer, String, String, String, Instant, Integer, String, Integer, String, String, String[], String) may expose internal representation by storing an externally mutable object into TradeDetail.relations MALICIOUS_CODE EI_EXPOSE_REP2 477 Medium
new org.oxerr.youzan.dto.item.TradeDetail(Instant, String, Long, AdjustFee, String, String, Long, String, Integer, Long, BigDecimal, BigDecimal, BigDecimal, Long, TradeDetail[], String, Instant, Instant, String[], TradeOrder[], TradePromotion[], String, String, BigDecimal, String, String, String, BigDecimal, Long, String, BigDecimal, String, Instant, UmpTradeCoupon[], String, String, String, BigDecimal, TradeFetch, Integer, String, String, String, Instant, Integer, String, Integer, String, String, String[], String) may expose internal representation by storing an externally mutable object into TradeDetail.subTrades MALICIOUS_CODE EI_EXPOSE_REP2 442 Medium
org.oxerr.youzan.dto.item.TradeDetail.setCouponDetails(UmpTradeCoupon[]) may expose internal representation by storing an externally mutable object into TradeDetail.couponDetails MALICIOUS_CODE EI_EXPOSE_REP2 750 Medium
org.oxerr.youzan.dto.item.TradeDetail.setOrders(TradeOrder[]) may expose internal representation by storing an externally mutable object into TradeDetail.orders MALICIOUS_CODE EI_EXPOSE_REP2 638 Medium
org.oxerr.youzan.dto.item.TradeDetail.setOutTradeNo(String[]) may expose internal representation by storing an externally mutable object into TradeDetail.outTradeNo MALICIOUS_CODE EI_EXPOSE_REP2 630 Medium
org.oxerr.youzan.dto.item.TradeDetail.setPromotionDetails(TradePromotion[]) may expose internal representation by storing an externally mutable object into TradeDetail.promotionDetails MALICIOUS_CODE EI_EXPOSE_REP2 646 Medium
org.oxerr.youzan.dto.item.TradeDetail.setRelations(String[]) may expose internal representation by storing an externally mutable object into TradeDetail.relations MALICIOUS_CODE EI_EXPOSE_REP2 878 Medium
org.oxerr.youzan.dto.item.TradeDetail.setSubTrades(TradeDetail[]) may expose internal representation by storing an externally mutable object into TradeDetail.subTrades MALICIOUS_CODE EI_EXPOSE_REP2 598 Medium

org.oxerr.youzan.dto.item.TradeOrder

Bug Category Details Line Priority
org.oxerr.youzan.dto.item.TradeOrder.getBuyerMessages() may expose internal representation by returning TradeOrder.buyerMessages MALICIOUS_CODE EI_EXPOSE_REP 310 Medium
org.oxerr.youzan.dto.item.TradeOrder.getOrderPromotionDetails() may expose internal representation by returning TradeOrder.orderPromotionDetails MALICIOUS_CODE EI_EXPOSE_REP 326 Medium
new org.oxerr.youzan.dto.item.TradeOrder(String, String, String, String, Integer, Long, Long, Long, String, String, Long, String, BigDecimal, String, BigDecimal, TradeBuyerMessage[], String, TradeOrderPromotion[], BigDecimal, BigDecimal, BigDecimal, BigDecimal, String) may expose internal representation by storing an externally mutable object into TradeOrder.buyerMessages MALICIOUS_CODE EI_EXPOSE_REP2 179 Medium
new org.oxerr.youzan.dto.item.TradeOrder(String, String, String, String, Integer, Long, Long, Long, String, String, Long, String, BigDecimal, String, BigDecimal, TradeBuyerMessage[], String, TradeOrderPromotion[], BigDecimal, BigDecimal, BigDecimal, BigDecimal, String) may expose internal representation by storing an externally mutable object into TradeOrder.orderPromotionDetails MALICIOUS_CODE EI_EXPOSE_REP2 181 Medium
org.oxerr.youzan.dto.item.TradeOrder.setBuyerMessages(TradeBuyerMessage[]) may expose internal representation by storing an externally mutable object into TradeOrder.buyerMessages MALICIOUS_CODE EI_EXPOSE_REP2 314 Medium
org.oxerr.youzan.dto.item.TradeOrder.setOrderPromotionDetails(TradeOrderPromotion[]) may expose internal representation by storing an externally mutable object into TradeOrder.orderPromotionDetails MALICIOUS_CODE EI_EXPOSE_REP2 331 Medium

org.oxerr.youzan.dto.item.Trades

Bug Category Details Line Priority
org.oxerr.youzan.dto.item.Trades.getTrades() may expose internal representation by returning Trades.trades MALICIOUS_CODE EI_EXPOSE_REP 26 Medium
new org.oxerr.youzan.dto.item.Trades(TradeDetail[], Integer, Boolean) may expose internal representation by storing an externally mutable object into Trades.trades MALICIOUS_CODE EI_EXPOSE_REP2 20 Medium
org.oxerr.youzan.dto.item.Trades.setTrades(TradeDetail[]) may expose internal representation by storing an externally mutable object into Trades.trades MALICIOUS_CODE EI_EXPOSE_REP2 30 Medium

org.oxerr.youzan.dto.ump.Coupons

Bug Category Details Line Priority
org.oxerr.youzan.dto.ump.Coupons.getCoupons() may expose internal representation by returning Coupons.coupons MALICIOUS_CODE EI_EXPOSE_REP 20 Medium
new org.oxerr.youzan.dto.ump.Coupons(UmpCoupon[]) may expose internal representation by storing an externally mutable object into Coupons.coupons MALICIOUS_CODE EI_EXPOSE_REP2 16 Medium
org.oxerr.youzan.dto.ump.Coupons.setCoupons(UmpCoupon[]) may expose internal representation by storing an externally mutable object into Coupons.coupons MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

org.oxerr.youzan.dto.ump.TimelimitedDiscounts

Bug Category Details Line Priority
org.oxerr.youzan.dto.ump.TimelimitedDiscounts.getList() may expose internal representation by returning TimelimitedDiscounts.list MALICIOUS_CODE EI_EXPOSE_REP 26 Medium
new org.oxerr.youzan.dto.ump.TimelimitedDiscounts(UmpTimelimitedDiscountGoodsJoin[], Long) may expose internal representation by storing an externally mutable object into TimelimitedDiscounts.list MALICIOUS_CODE EI_EXPOSE_REP2 21 Medium
org.oxerr.youzan.dto.ump.TimelimitedDiscounts.setList(UmpTimelimitedDiscountGoodsJoin[]) may expose internal representation by storing an externally mutable object into TimelimitedDiscounts.list MALICIOUS_CODE EI_EXPOSE_REP2 30 Medium

org.oxerr.youzan.dto.ump.Verifylogs

Bug Category Details Line Priority
org.oxerr.youzan.dto.ump.Verifylogs.getVerifylogs() may expose internal representation by returning Verifylogs.verifylogs MALICIOUS_CODE EI_EXPOSE_REP 20 Medium
new org.oxerr.youzan.dto.ump.Verifylogs(UmpPromotionVerifylog[]) may expose internal representation by storing an externally mutable object into Verifylogs.verifylogs MALICIOUS_CODE EI_EXPOSE_REP2 16 Medium
org.oxerr.youzan.dto.ump.Verifylogs.setVerifylogs(UmpPromotionVerifylog[]) may expose internal representation by storing an externally mutable object into Verifylogs.verifylogs MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium