# sonar-p3c-pmd-plugin **Repository Path**: jasonlong10/sonar-p3c-pmd-plugin ## Basic Information - **Project Name**: sonar-p3c-pmd-plugin - **Description**: sonar接入阿里规范(p3c),基于alibaba/p3c/p3c-pmd,1.3.4版本 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 10 - **Forks**: 7 - **Created**: 2018-05-10 - **Last Updated**: 2023-08-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README SonarQube PMD Plugin ==================== ## Description / Features This plugin provides coding rules from [PMD](https://pmd.github.io/). PMD Plugin|2.0|2.1|2.2|2.3|2.4.1|2.5 -------|---|---|---|---|---|--- PMD|4.3|4.3|5.1.1|5.2.1|5.3.1|5.4.0 A majority of the PMD rules have been rewritten in the Java plugin. Rewritten rules are marked "Deprecated" in the PMD plugin, but a [concise summary of replaced rules](http://dist.sonarsource.com/reports/coverage/pmd.html) is available. ## Usage In the quality profile, activate some rules from PMD and run an analysis on your project. Set the sonar.java.source property to tell PMD which version of Java your source code complies to. The default value is 1.5. Possible values: 1.4, 1.5 or 5, 1.6 or 6, 1.7 or 7. Since version 2.2 of the plugin, this property can also be set to 1.8 or 8. ## Rules on test PMD tool provides some rules that can check the code of JUnit tests.Please note that these rules (and only these rules) will be applied only on the test files of your project.