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
112 24 0 46

Files

Class Bugs
com.foxinmy.weixin4j.mp.WeixinComponentProxy 1
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.model.AutoReplySetting$Rule 2
com.foxinmy.weixin4j.mp.model.KfSession 4

com.foxinmy.weixin4j.mp.WeixinComponentProxy

Bug Category Details Line Priority
Format-string method String.format(String, Object[]) called with format string "https://mp.weixin.qq.com/cgi-bin/componentloginpage?component_appid=%s&pre_auth_code=%s&redirect_uri=%s" wants 3 arguments but is given 4 in com.foxinmy.weixin4j.mp.WeixinComponentProxy.getComponentAuthorizationURL(String, String, String) CORRECTNESS VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED 192 Medium

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.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