Table of Contents
The following pages and posts are tagged with
Title | Type | Excerpt |
---|---|---|
Ant Task Usage | Page | PMD Description Runs a set of static code analysis rules on some source code files and generates a list of problems found. Installation Before you can use the pmd task in your ant build.xml file, you need to install PMD and its libraries... |
bld PMD Extension | Page | bld is a new build system that allows you to write your build logic in pure Java. It has a PMD Extension for it. To install, please refer to the extensions documentation. To check all source code using the java quickstart rule, add the... |
Continuous Integrations plugins | Page | Introduction PMD can be integrated through some of the Continuous Integration tools that exist now. This page lists some plugins to do so. If you think, something is missing here, please let us know. Note: The tools are listed in alphabetical order without... |
Gradle | Page | The Gradle Build Tool provides a PMD Plugin that can be added to your build configuration. Technically it is based on the Ant Task. Example In your build.gradle add the following: plugins { id 'pmd' } Custom ruleset... |
IDE Plugins | Page | IDE Integrations General comments A general note - most plugins include the PMD jar files, which has the rulesets inside it. So even though the rulesets parameter that some plugins use (i.e., “category/java/bestpractices.xml”) looks like a filesystem reference, it’s really being used by a getResourceAsStream() call to load... |
PMD Java API | Page | The easiest way to run PMD is to just use a build plugin in your favorite build tool like Apache Ant, Apache Maven or Gradle. There are also many integrations for IDEs available, see Tools. If you have your own build tool or want to integrate... |
Maven PMD Plugin | Page | Maven 2 and 3 Running the pmd plugin Choosing the plugin version When adding the maven-pmd-plugin to your pom.xml, you need to select a version. To figure out the latest available version, have a look at the official maven-pmd-plugin documentation. As of June 2024 (7.3.0), the... |
Tools / Integrations | Page | ## Automated Code Review {% include note.html content="The tools are listed in alphabetical order without rating." %} ### CodeClimate Quality [CodeClimate Quality](https://codeclimate.com/quality) provides automatic code reviews and quality monitoring of your projects. Among many SCA tools, it integrates [PMD as a plugin](https://docs.codeclimate.com/docs/pmd). It integrates into your project via GitHub. *... |