PMD (software)

PMD
Initial release4 November 2002
Stable release
7.2.0[1] Edit this on Wikidata / 31 May 2024
Repository
Written inJava
Operating systemWindows, Linux, macOS
TypeStatic program analysis tool
LicenseBSD License, Apache License 2.0, GNU Lesser General Public License[2]
Websitepmd.github.io Edit this on Wikidata

PMD is an open source static source code analyzer that reports on issues found within application code. PMD includes built-in rule sets and supports the ability to write custom rules. PMD does not report compilation errors, as it only can process well-formed source files. Rather, PMD is designed to detect inefficient code or bad programming habits, which can reduce the performance and maintainability of the program if they accumulate. It can analyze files written in Java, JavaScript, Apex and Visualforce, PLSQL, Apache Velocity, XML, and XSL.

While PMD does not officially stand for anything,[3] several retro acronyms have been suggested, including for instance Programming Mistake Detector and Project Meets Deadline.[4]

  1. ^ "PMD Release Notes | PMD Source Code Analyzer". 31 May 2024. Retrieved 13 June 2024.
  2. ^ Cite error: The named reference license was invoked but never defined (see the help page).
  3. ^ "What does 'PMD' mean?". pmd-code.org. Retrieved 31 March 2023.
  4. ^ "Destroy annoying bugs part 4: the end is near". freesoftwaremagazine.com.