pmd.github.io Open in urlscan Pro
2606:50c0:8003::153  Public Scan

Submitted URL: http://pmd.sourceforge.io/
Effective URL: https://pmd.github.io/
Submission Tags: falconsandbox
Submission: On February 17 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Toggle navigation PMD Source Code Analyzer
 * Documentation
 * Bugs
 * About
 * News
 * Downloads
 * Support
 * Plugins


PMD


AN EXTENSIBLE CROSS-LANGUAGE STATIC CODE ANALYZER.

--------------------------------------------------------------------------------

 * Download
 * Documentation

--------------------------------------------------------------------------------

Latest Version: 6.54.0 (28-January-2023)
Release Notes | Source





QUICKSTART


See also Getting Started
 * Linux
 * MacOS
 * Windows
 * Windows (Chocolatey)

$ cd $HOME
$ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F6.54.0/pmd-bin-6.54.0.zip
$ unzip pmd-bin-6.54.0.zip
$ alias pmd="$HOME/pmd-bin-6.54.0/bin/run.sh pmd"
$ pmd -d /usr/src -R rulesets/java/quickstart.xml -f text

$ cd $HOME
$ curl -OL https://github.com/pmd/pmd/releases/download/pmd_releases%2F6.54.0/pmd-bin-6.54.0.zip
$ unzip pmd-bin-6.54.0.zip
$ alias pmd="$HOME/pmd-bin-6.54.0/bin/run.sh pmd"
$ pmd -d /usr/src -R rulesets/java/quickstart.xml -f text

 1. Download pmd-bin-6.54.0.zip
 2. Extract the zip-archive, e.g. to C:\pmd-bin-6.54.0
 3. Add folder C:\pmd-bin-6.54.0\bin to PATH, either
     1. Permanently: Using System Properties dialog > Environment variables >
        Append to PATH variable
     2. Temporarily, at command line: SET PATH=C:\pmd-bin-6.54.0\bin;%PATH%

 4. Execute at command line: pmd.bat -d c:\src -R rulesets/java/quickstart.xml
    -f text

 1. Install Chocolatey, if you don't already have it!
 2. Install PMD: choco install -y pmd
 3. Run from the command-line! pmd -d c:\src -R rulesets/java/quickstart.xml -f
    text

Checkout the existing rules for Java.





ABOUT PMD


PMD is a source code analyzer. It finds common programming flaws like unused
variables, empty catch blocks, unnecessary object creation, and so forth. It
supports Java, JavaScript, Salesforce.com Apex and Visualforce, PLSQL, Apache
Velocity, XML, XSL.

Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
in Java, C, C++, C#, Groovy, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache
Velocity, Scala, Objective C, Matlab, Python, Go, Swift and Salesforce.com Apex
and Visualforce.







NEWS


 * 28 Jan 2023: PMD For Eclipse 4.43.0.v20230128-1625-r Released
 * 28 Jan 2023: PMD 6.54.0 released
 * 31 Dec 2022: PMD For Eclipse 4.42.0.v20221231-1753-r Released
 * 31 Dec 2022: PMD 6.53.0 released
 * 26 Nov 2022: PMD For Eclipse 4.41.0.v20221126-1044-r Released

All news





DOWNLOADS



6.54.0 (28-JANUARY-2023)

 * Release Notes
 * Download (Sourcecode, Documentation)
 * Online Documentation


6.53.0 (31-DECEMBER-2022)

 * Release Notes
 * Download (Sourcecode, Documentation)
 * Online Documentation


6.52.0 (26-NOVEMBER-2022)

 * Release Notes
 * Download (Sourcecode, Documentation)
 * Online Documentation


6.51.0 (29-OCTOBER-2022)

 * Release Notes
 * Download (Sourcecode, Documentation)
 * Online Documentation






SUPPORT



NEED HELP?

 * How do I? -- Ask a question on StackOverflow.
 * I got this error, why? -- Ask a question on StackOverflow.
 * I got this error and I'm sure it's a bug -- file an issue.
 * I have an idea/request/question -- file an issue.
 * I have a quick question -- ask on our Gitter chat.
 * Where's your documentation? -- https://pmd.github.io/latest/.


GET INVOLVED

See How to contribute to PMD and How to build PMD.

Our license: BSD-style.

Source Code: Check it out on github






PLUGINS


 * Maven PMD plugin
 * Gradle: The PMD Plugin
 * Eclipse plugin
 * NetBeans plugin
 * JBuilder plugin
 * JDeveloper plugin
 * IntelliJ IDEA plugin

 * Home
 * ⋅
 * Documentation
 * ⋅
 * Bugs
 * ⋅
 * About
 * ⋅
 * News
 * ⋅
 * Support
 * ⋅
 * Downloads
 * ⋅
 * Plugins

Copyright © 2023 PMD. All Rights Reserved.

Credits: Landing Page Theme, based on free to use, open source Bootstrap theme
created by Start Bootstrap.