Intellij插件

来源:互联网 发布:淘宝管理费 编辑:程序博客网 时间:2024/06/16 09:59

intellij插件

https://plugins.jetbrains.com/plugin/4596-qaplug--pmd


1 安装插件并重启



2 静态分析

右击项目,并选择“Analyze” > "Analyze Code"



选择“Run with chosen profile”



点击"Import",将pmd.xml规则文件导入




3 根据分析结果修改





转载自:Intellij插件 - PMD