Sign inSign up

abzcoding/pmd

By abzcoding

•Updated almost 7 years ago

Docker image for https://pmd.github.io/

Image
1

292

abzcoding/pmd repository overview

⁠PMD docker image (abzcoding/pmd)

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).

⁠Getting started

⁠Prerequisites

In order to run this container you'll need docker installed.

⁠Usage

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

⁠Volumes
  • /src/ - default working directory

⁠Contributing

The Github repository is located at abzcoding/docker-pmd⁠

⁠Versioning

We use PMD version numbers to version the images.

⁠License

Credit to doy⁠ that made this possible This project is licensed under the MIT License - see the LICENSE.md⁠ file for details.

Tag summary

Content type

Image

Digest

Size

250.4 MB

Last updated

almost 7 years ago

docker pull abzcoding/pmd