Docker image for PMD, an extensible cross-language static code analyzer.
This image can be used to run PMD (static code analysis) and CPD (copy-paste detection).
In order to run this container you'll need docker installed.
ex: Java analysis with custom rulesets
docker run -v $PWD:/src abzcoding/pmd pmd -language java -dir . -rulesets ./my-rulesets.xml
ex: Apex analysis with builtin rulesets
docker run -v $PWD:/src abzcoding/pmd pmd -language apex -dir . -rulesets rulesets/apex/rulset.xml
/src/
- default working directory
The Github repository is located at abzcoding/docker-pmd
We use PMD version numbers to version the images.
Credit to doy that made this possible This project is licensed under the MIT License - see the LICENSE.md file for details.