PMD Results

The following document contains the results of PMD 6.29.0.

Violations By Priority

Priority 3

com/foxinmy/weixin4j/example/controller/IndexController.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'weixinProxy'. 13

com/foxinmy/weixin4j/example/server/Weixin4jServerStartup.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'aesToken'. 28

com/foxinmy/weixin4j/example/server/handler/ChatMessageHandler.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'chatMessage'. 21

Priority 4

com/foxinmy/weixin4j/example/server/Weixin4jServerStartup.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.exception.WeixinException' 3

com/foxinmy/weixin4j/example/server/handler/CustomMessageHandler.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.exception.WeixinException' 5

com/foxinmy/weixin4j/example/server/handler/SubscribeMessageHandler.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.request.WeixinRequest' 7

com/foxinmy/weixin4j/example/server/handler/TextMessageHandler.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.request.WeixinRequest' 7

com/foxinmy/weixin4j/example/server/handler/VoiceMessageHandler.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.request.WeixinRequest' 7

Files

com/foxinmy/weixin4j/example/controller/IndexController.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'weixinProxy'. 3 13

com/foxinmy/weixin4j/example/server/Weixin4jServerStartup.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.exception.WeixinException' 4 3
UnusedPrivateField Avoid unused private fields such as 'aesToken'. 3 28

com/foxinmy/weixin4j/example/server/handler/ChatMessageHandler.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'chatMessage'. 3 21

com/foxinmy/weixin4j/example/server/handler/CustomMessageHandler.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.exception.WeixinException' 4 5

com/foxinmy/weixin4j/example/server/handler/SubscribeMessageHandler.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.request.WeixinRequest' 4 7

com/foxinmy/weixin4j/example/server/handler/TextMessageHandler.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.request.WeixinRequest' 4 7

com/foxinmy/weixin4j/example/server/handler/VoiceMessageHandler.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'com.foxinmy.weixin4j.request.WeixinRequest' 4 7