SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.2.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
112 24 0 0

Files

Class Bugs
com.foxinmy.weixin4j.mp.api.ShakeAroundApi 1
com.foxinmy.weixin4j.mp.datacube.ArticleDatacube2 2
com.foxinmy.weixin4j.mp.datacube.ArticleDatacubeShare 2
com.foxinmy.weixin4j.mp.datacube.ArticleSummary 2
com.foxinmy.weixin4j.mp.datacube.ArticleTotal 2
com.foxinmy.weixin4j.mp.datacube.InterfaceSummary 2
com.foxinmy.weixin4j.mp.datacube.UpstreamMsg 2
com.foxinmy.weixin4j.mp.datacube.UpstreamMsgDist 2
com.foxinmy.weixin4j.mp.datacube.UserSummary 2
com.foxinmy.weixin4j.mp.message.TemplateMessage 1
com.foxinmy.weixin4j.mp.model.AutoReplySetting$Rule 2
com.foxinmy.weixin4j.mp.model.KfSession 4

com.foxinmy.weixin4j.mp.api.ShakeAroundApi

Bug Category Details Line Priority
Dead store to devices in com.foxinmy.weixin4j.mp.api.ShakeAroundApi.deviceSearchDevicesByApplyId(Integer) STYLE DLS_DEAD_LOCAL_STORE 168 Medium

com.foxinmy.weixin4j.mp.datacube.ArticleDatacube2

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.datacube.ArticleDatacube2.getStatDate() may expose internal representation by returning ArticleDatacube2.statDate MALICIOUS_CODE EI_EXPOSE_REP 31 Medium
com.foxinmy.weixin4j.mp.datacube.ArticleDatacube2.setStatDate(Date) may expose internal representation by storing an externally mutable object into ArticleDatacube2.statDate MALICIOUS_CODE EI_EXPOSE_REP2 35 Medium

com.foxinmy.weixin4j.mp.datacube.ArticleDatacubeShare

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.datacube.ArticleDatacubeShare.getRefDate() may expose internal representation by returning ArticleDatacubeShare.refDate MALICIOUS_CODE EI_EXPOSE_REP 48 Medium
com.foxinmy.weixin4j.mp.datacube.ArticleDatacubeShare.setRefDate(Date) may expose internal representation by storing an externally mutable object into ArticleDatacubeShare.refDate MALICIOUS_CODE EI_EXPOSE_REP2 52 Medium

com.foxinmy.weixin4j.mp.datacube.ArticleSummary

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.datacube.ArticleSummary.getRefDate() may expose internal representation by returning ArticleSummary.refDate MALICIOUS_CODE EI_EXPOSE_REP 41 Medium
com.foxinmy.weixin4j.mp.datacube.ArticleSummary.setRefDate(Date) may expose internal representation by storing an externally mutable object into ArticleSummary.refDate MALICIOUS_CODE EI_EXPOSE_REP2 45 Medium

com.foxinmy.weixin4j.mp.datacube.ArticleTotal

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.datacube.ArticleTotal.getRefDate() may expose internal representation by returning ArticleTotal.refDate MALICIOUS_CODE EI_EXPOSE_REP 42 Medium
com.foxinmy.weixin4j.mp.datacube.ArticleTotal.setRefDate(Date) may expose internal representation by storing an externally mutable object into ArticleTotal.refDate MALICIOUS_CODE EI_EXPOSE_REP2 46 Medium

com.foxinmy.weixin4j.mp.datacube.InterfaceSummary

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.datacube.InterfaceSummary.getRefDate() may expose internal representation by returning InterfaceSummary.refDate MALICIOUS_CODE EI_EXPOSE_REP 53 Medium
com.foxinmy.weixin4j.mp.datacube.InterfaceSummary.setRefDate(Date) may expose internal representation by storing an externally mutable object into InterfaceSummary.refDate MALICIOUS_CODE EI_EXPOSE_REP2 57 Medium

com.foxinmy.weixin4j.mp.datacube.UpstreamMsg

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.datacube.UpstreamMsg.getRefDate() may expose internal representation by returning UpstreamMsg.refDate MALICIOUS_CODE EI_EXPOSE_REP 48 Medium
com.foxinmy.weixin4j.mp.datacube.UpstreamMsg.setRefDate(Date) may expose internal representation by storing an externally mutable object into UpstreamMsg.refDate MALICIOUS_CODE EI_EXPOSE_REP2 52 Medium

com.foxinmy.weixin4j.mp.datacube.UpstreamMsgDist

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.datacube.UpstreamMsgDist.getRefDate() may expose internal representation by returning UpstreamMsgDist.refDate MALICIOUS_CODE EI_EXPOSE_REP 38 Medium
com.foxinmy.weixin4j.mp.datacube.UpstreamMsgDist.setRefDate(Date) may expose internal representation by storing an externally mutable object into UpstreamMsgDist.refDate MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium

com.foxinmy.weixin4j.mp.datacube.UserSummary

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.datacube.UserSummary.getRefDate() may expose internal representation by returning UserSummary.refDate MALICIOUS_CODE EI_EXPOSE_REP 48 Medium
com.foxinmy.weixin4j.mp.datacube.UserSummary.setRefDate(Date) may expose internal representation by storing an externally mutable object into UserSummary.refDate MALICIOUS_CODE EI_EXPOSE_REP2 52 Medium

com.foxinmy.weixin4j.mp.message.TemplateMessage

Bug Category Details Line Priority
Class com.foxinmy.weixin4j.mp.message.TemplateMessage defines non-transient non-serializable instance field miniprogram BAD_PRACTICE SE_BAD_FIELD Not available High

com.foxinmy.weixin4j.mp.model.AutoReplySetting$Rule

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.model.AutoReplySetting$Rule.getCreateTime() may expose internal representation by returning AutoReplySetting$Rule.createTime MALICIOUS_CODE EI_EXPOSE_REP 160 Medium
com.foxinmy.weixin4j.mp.model.AutoReplySetting$Rule.setCreateTime(Date) may expose internal representation by storing an externally mutable object into AutoReplySetting$Rule.createTime MALICIOUS_CODE EI_EXPOSE_REP2 164 Medium

com.foxinmy.weixin4j.mp.model.KfSession

Bug Category Details Line Priority
com.foxinmy.weixin4j.mp.model.KfSession.getCreateTime() may expose internal representation by returning KfSession.createTime MALICIOUS_CODE EI_EXPOSE_REP 61 Medium
com.foxinmy.weixin4j.mp.model.KfSession.getLatestTime() may expose internal representation by returning KfSession.latestTime MALICIOUS_CODE EI_EXPOSE_REP 69 Medium
com.foxinmy.weixin4j.mp.model.KfSession.setCreateTime(Date) may expose internal representation by storing an externally mutable object into KfSession.createTime MALICIOUS_CODE EI_EXPOSE_REP2 65 Medium
com.foxinmy.weixin4j.mp.model.KfSession.setLatestTime(Date) may expose internal representation by storing an externally mutable object into KfSession.latestTime MALICIOUS_CODE EI_EXPOSE_REP2 73 Medium