kemsakurai/PMD for Java
🐶 Run PMD analysis on Java code and report results directly to pull request with the help of reviewdog.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN | — | ${{ github.token }} |
| workdir | Working directory relative to the root directory. | — | . |
| level | Report level for reviewdog [info,warning,error] | — | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-pr-review]. | — | github-pr-check |
| filter_mode | Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added. | — | added |
| fail_level | Fail level for reviewdog [none,any,info,warning,error] Default is `none`. | — | none |
| tool_name | Tool name to use for reviewdog reporter | — | pmd |
| reviewdog_flags | Additional reviewdog flags | — | "" |
| src_path | Specify the directory where the sources to be analyzed are stored. Default is `src/main/java`. | — | src/main/java |
| rulesets_path | Specify the path of the PMD rule set. Default is `category/java/bestpractices.xml`. | — | category/java/bestpractices.xml |
| pmd_cache | Enable PMD incremental analysis with cache file path (e.g., "/tmp/pmd-cache/pmd.cache"). Must be a file path, not a directory. Leave empty to disable. | — | "" |
Outputs
no outputs