Skip to content

abzcoding/docker-pmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

docker image for PMD SAST

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published