GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • PMD Source Code Analyzer Project
  • Nav
  • Download
  • GitHub
  • Edit on GitHub

This view

  • Original page
  • New address

GeezerVison is showing docs.pmd-code.org — Developer and contributor documentation | PMD Source Code Analyzer

 
  • PMD 7.19.0
  • Release date: 28-November-2025
  • About
    • Home
    • Release notes
    • Release notes (PMD 7)
    • Getting help
    • Release policies
    • Support lifecycle
    • Security
  • User Documentation
    • Migration Guide for PMD 7
    • Installation and basic CLI usage
    • Making rulesets
    • Configuring rules
    • Best practices
    • Suppressing warnings
    • Incremental analysis
    • PMD CLI reference
    • PMD Report formats
    • 3rd party rulesets
    • Signed Releases
    • CPD reference
      • Copy-paste detection
      • CPD Report formats
    • Extending PMD
      • Introduction to writing rules
      • Your first rule
      • XPath rules
      • Java rules
      • Rule designer reference
      • Defining rule properties
      • Rule guidelines
      • Testing your rules
      • Creating (XML) dump of the AST
    • Tools / Integrations
      • Maven PMD Plugin
      • Gradle
      • Ant
      • PMD Java API
      • bld PMD Extension
      • CI integrations
      • IDE Plugins
      • Other Tools / Integrations
  • Rule Reference
    • Apex Rules
      • Index
      • Best Practices
      • Code Style
      • Design
      • Documentation
      • Error Prone
      • Performance
      • Security
    • HTML Rules
      • Index
      • Best Practices
    • Java Rules
      • Index
      • Best Practices
      • Code Style
      • Design
      • Documentation
      • Error Prone
      • Multithreading
      • Performance
      • Security
    • Java Server Pages Rules
      • Index
      • Best Practices
      • Code Style
      • Design
      • Error Prone
      • Security
    • JavaScript Rules
      • Index
      • Best Practices
      • Code Style
      • Error Prone
      • Performance
    • Kotlin Rules
      • Index
      • Best Practices
      • Error Prone
    • Maven POM Rules
      • Index
      • Error Prone
    • Modelica Rules
      • Index
      • Best Practices
    • PLSQL Rules
      • Index
      • Best Practices
      • Code Style
      • Design
      • Error Prone
    • Salesforce Visualforce Rules
      • Index
      • Security
    • Scala Rules
      • Index
    • Swift Rules
      • Index
      • Best Practices
      • Error Prone
    • Velocity Template Language (VTL) Rules
      • Index
      • Best Practices
      • Design
      • Error Prone
    • WSDL Rules
      • Index
    • XML Rules
      • Index
      • Best Practices
      • Error Prone
    • XSL Rules
      • Index
      • Code Style
      • Performance
  • Language-Specific Documentation
    • Overview
    • Language configuration
    • Apex
    • C/C++
    • C#
    • CSS
    • Coco
    • Dart
    • Fortran
    • Gherkin
    • Go
    • HTML
    • Java
    • JavaScript / TypeScript
    • JSP
    • Julia
    • Kotlin
    • Lua
    • Matlab
    • Modelica
    • Objective-C
    • Perl
    • PHP
    • PLSQL
    • Python
    • Ruby
    • Rust
    • Scala
    • Swift
    • T-SQL
    • Visualforce
    • Velocity Template Language (VTL)
    • XML and XML dialects
  • Developer Documentation
    • Contributing
      • Contributing
      • Developer resources
      • Newcomers' Guide
      • Writing documentation
    • Building PMD
      • General Info
      • Building PMD from source
      • Building PMD with IntelliJ IDEA
      • Building PMD with Eclipse IDE
      • Building PMD with VS Code IDE
      • Building PMD with Netbeans IDE
    • Roadmap
    • GitHub Actions Workflows
    • How PMD works
    • Logging
    • Pmdtester
    • Rule Deprecation Policy
    • Major contributions
      • Rule Guidelines
      • Adding a new dialect
      • Adding a new language (JavaCC)
      • Adding a new language (ANTLR)
      • Adding a new CPD language
    • Experimental features
      • List of experimental Features
  • Project documentation
    • Trivia about PMD
      • PMD in the press
      • Products & books related to PMD
      • Similar projects
      • What does 'PMD' mean?
    • Logo
    • FAQ
    • License
    • Credits
    • Old release notes
    • Decisions
    • Project management
      • Infrastructure
      • Release process
      • Merging pull requests
      • Main Landing page

Developer and contributor documentation

Table of Contents

The following pages and posts are tagged with

TitleTypeExcerpt
Adding PMD support for a new dialect for an already existing language Page How to add a new dialect.
Adding PMD support for a new ANTLR grammar based language Page How to add a new language to PMD using ANTLR grammar.
Adding PMD support for a new JavaCC grammar based language Page How to add a new language to PMD using JavaCC grammar.
How to add a new CPD language Page How to add a new language module with CPD support.
Building PMD with Eclipse Page Import PMD Project Download the latest Eclipse IDE for Enterprise Java and Web Developers Install it by extracting it into a directory of your choice Start eclipse. You’ll be asked for a workspace. It’s recommended to use an extra, separate new workspace for PMD, because...
Building PMD from source Page Compiling PMD JDK 11 or higher Note: While Java 11 is required for building, running PMD only requires Java 8. You’ll need to either check out the source code or download the latest source release. Assuming you’ve got the...
Building PMD General Info Page Before Development Ensure that Git and Java JDK >= 17 are installed. You can get a OpenJDK distribution from e.g. Adoptium. Note: While Java 17 is required for building, running PMD only requires Java 8. Fork the PMD repository on GitHub as explained...
Building PMD with IntelliJ IDEA Page Import PMD Project Download the Community Edition of IntelliJ IDEA from https://www.jetbrains.com/idea/download/other.html. Install it, that means, extract the archive Start it with bin/idea.sh In the startup dialog, choose the button Open and select the folder, into which PMD’s repository has been cloned. Then...
Building PMD with Netbeans Page Import PMD Project This needs to be done only once. Install Apache Netbeans Select File > Open Project… and choose the already checked out PMD source folder. After a while, you should see under “Projects > PMD > Modules” all the modules. You can then open individual...
Building PMD with VS Code Page Warning: It is not recommend to use VS Code for developing. See Known Issues below. Import PMD Project This needs to be done only once. Install Visual Studio Code Select File > Open Folder… and choose the already checked out PMD...
Contributor's Guide Page How to contribute to PMD
Developer Resources Page Source Code The complete source code can be found on GitHub: github.com/pmd/pmd - main PMD repository. Includes all the code to support all languages, including this documentation. github.com/pmd/pmd.github.io - Contains the landing page https://pmd.github.io github.com/pmd/build-tools - Contains the checkstyle rules we use github.com/pmd/pmd-designer...
How PMD Works Page Processing overview of the different steps taken by PMD.
Logging Page Logging API is slf4j PMD uses slf4j as the logging API internally. Logging can be done also in (Java-based) rules. In order to log, get a logger. Usually the logger is stored in a static final field called LOG: private...
Newcomers' Guide Page This is a small guide for GSoC Students and new contributors. 1. Check out PMD As you want to engage with PMD, your first task is, to find out what PMD is - if you didn’t do this already. Read the webpage, install PMD with the Installation...
Pmdtester Page Introduction Pmdtester is a regression testing tool that ensures no new problems and unexpected behaviors will be introduced to PMD after fixing an issue. It can also be used to verify, that new rules work as expected. It has been integrated into travis CI and is actually used automatically...
Roadmap Page TODO: Update Future direction projects, plans Google Summer of Code Future directions Want to know what’s coming? Or, better, wanna contribute ? Here is the page listing what are our plans - when we have ones, for the future of PMD. It also give you hints at...
Rule deprecation policy Page Describes when and how rules are deprecated
Guidelines for standard rules Page Guidelines for rules that are included in the standard distribution
Writing documentation Page PMD's documentation uses [Jekyll](https://jekyllrb.com/) with the [I'd rather be writing Jekyll Theme](http://idratherbewriting.com/documentation-theme-jekyll/index.html). Here are some quick tips. ## Format The pages are in general in [Github Flavored Markdown](https://kramdown.gettalong.org/parser/gfm.html). ## Structure The documentation sources can be found in two places based on how they are generated: - the ones that are...
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.