PMD Results

The following document contains the results of PMD 6.29.0.

Violations By Priority

Priority 2

com/foxinmy/weixin4j/mp/api/TagApi.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 242
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 269
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 348

com/foxinmy/weixin4j/mp/api/UserApi.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 213
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 243
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 327

Priority 3

com/foxinmy/weixin4j/mp/WeixinComponentProxy.java

Rule Violation Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 195

com/foxinmy/weixin4j/mp/api/ComponentApi.java

Rule Violation Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 148

com/foxinmy/weixin4j/mp/api/MediaApi.java

Rule Violation Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 218
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 414

com/foxinmy/weixin4j/mp/api/OauthApi.java

Rule Violation Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 98
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 170
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 253

com/foxinmy/weixin4j/mp/api/PayOldApi.java

Rule Violation Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 365
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 524

com/foxinmy/weixin4j/mp/model/User.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 248250

Priority 4

com/foxinmy/weixin4j/mp/api/PayOldApi.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'com.foxinmy.weixin4j.util.Consts.GBK' due to existing import 'com.foxinmy.weixin4j.util.Consts' 507

com/foxinmy/weixin4j/mp/api/UserApi.java

Rule Violation Line
UselessParentheses Useless parentheses. 321

com/foxinmy/weixin4j/mp/model/shakearound/DeviceAuditState.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'java.util.Date' 5

com/foxinmy/weixin4j/mp/oldpayment/WeixinOldPaymentSignature.java

Rule Violation Line
UselessParentheses Useless parentheses. 45

Files

com/foxinmy/weixin4j/mp/WeixinComponentProxy.java

Rule Violation Priority Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 195

com/foxinmy/weixin4j/mp/api/ComponentApi.java

Rule Violation Priority Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 148

com/foxinmy/weixin4j/mp/api/MediaApi.java

Rule Violation Priority Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 218
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 414

com/foxinmy/weixin4j/mp/api/OauthApi.java

Rule Violation Priority Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 98
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 170
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 253

com/foxinmy/weixin4j/mp/api/PayOldApi.java

Rule Violation Priority Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 365
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'com.foxinmy.weixin4j.util.Consts.GBK' due to existing import 'com.foxinmy.weixin4j.util.Consts' 4 507
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 524

com/foxinmy/weixin4j/mp/api/TagApi.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 242
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 269
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 348

com/foxinmy/weixin4j/mp/api/UserApi.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 213
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 243
UselessParentheses Useless parentheses. 4 321
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 327

com/foxinmy/weixin4j/mp/model/User.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 248250

com/foxinmy/weixin4j/mp/model/shakearound/DeviceAuditState.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'java.util.Date' 4 5

com/foxinmy/weixin4j/mp/oldpayment/WeixinOldPaymentSignature.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 45