PMD Result
bestpractices(最佳实践)
UnusedPrivateMethod
Unused Private Method detects when a private
method is declared but is unused.
未使用的私有方法检测私有方法已声明但未使用。
codestyle(代码样式)
UnnecessaryModifier
Fields in interfaces and annotations are autotations are automatically `public static final`,
and methods are `public abstract`.Classes,interfaces or annotations nested in
接口和注释中的字段自动转换为“公共静态最终”,方法为“公共抽象”。嵌套在中的类、接口或注释
design(设计)
documentation(文档)
CommentRequired
1. Denotes whether javadoc (formal) comments are required
(or unwanted) for specific language elements.
(需要注释。表示是否需要javadoc(正式)注释(或不需要的)特定语言元素。)
CommentSize
2. DeterMines whether the dimensions of non-hrader
comments found are within the specified limits.
(注释大小。确定发现的非措辞评论的尺寸是否在规定范围内。)
errorprone(易出错的)
multithreading(多线程)
performance(表演)