我的命令如下:
java -cp p3c-pmd-1.3.6.jar net.sourceforge.pmd.PMD -d /tmp/manage/ -R /root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-comment.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-constant.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-exception.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-flowcontrol.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-naming.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-oop.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-orm.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-other.xml,/root/p3c/p3c-pmd/src/main/resources/rulesets/java/ali-set.xml -f html > /tmp/1.html
评论太长了只能分两次
如何生成整合了阿里巴巴JAVA编码规范的PMD包配合GitLab提升团队代码质量代码不只是用来运行的,更是用来阅读的 编码规范 代码规范看似只是简单的一个编码的规范,对代码格式、变量命名、注释格式等做一个统一规范,看似有点强迫你改变编码风格的味道。但是当...