code.pmdPMD Java analysis
Runs PMD 7 over Java sources with built-in rulesets only (rulesets/java/quickstart.xml,category/java/security.xml), never the project's own ruleset, since rulesets can name rule classes. PMD runs from an empty temp directory, because it resolves ruleset paths against the working directory before its own classpath, and gets an explicit file list. No build is needed and --aux-classpath is never passed, so no project classes are loaded. Categories: Error Prone and Multithreading are reliability, Security security, Performance performance, the rest maintainability; PMD priority 1-5 maps to high, medium, low, info.
- Engine
- Wrapped scanner
- Wraps
pmd- Targets
- Codebase
- Runs
- By default, when the target applies
- Network
- Only the target itself
Run only this auditor
bunx @openaudit/cli . --only code.pmdWraps pmd. When it isn't installed, the auditor is skipped with an install hint and the rest of the audit runs.