eclipse-pmd

Add this URL to your Eclipse Installation to reach this solution's update site.

2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2023-09 (4.29), 2023-12 (4.30)

https://eclipse-pmd.acanda.ch/release/latest

2021-12 (4.22)

https://eclipse-pmd.acanda.ch/release/3.3

2021-09 (4.21)

https://eclipse-pmd.acanda.ch/release/2.25

2021-06 (4.20)

https://eclipse-pmd.acanda.ch/release/2.22

2021-03 (4.19)

https://eclipse-pmd.acanda.ch/release/2.19

2020-12 (4.18)

https://eclipse-pmd.acanda.ch/release/2.17

2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14)

https://eclipse-pmd.acanda.ch/release/2.14

2019-09 (4.13)

https://eclipse-pmd.acanda.ch/release/2.2

2019-06 (4.12)

https://eclipse-pmd.acanda.ch/release/2.0

2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1)

https://eclipse-pmd.acanda.ch/release/1.28

Learn more...
Solution Description

The eclipse-pmd plug-in integrates the source code analyzer PMD into the Eclipse IDE. Everytime you save your work, eclipse-pmd scans your source code and looks for potential problems like possible bugs and suboptimal, duplicate, dead or overly complicated code. Where possible, eclipse-pmd offers quick fixes that automatically fix the problems. These quick fixes can be used to fix a single problem or all occurrences in your entire code base.

You can support the development of eclipse-pmd by becoming a sponsor.

Categories: Source Code Analyzer

Additional Details

Eclipse Versions: 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2023-09 (4.29), 2023-12 (4.30), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Philip Graf

Development Status: Production/Stable

Date Created: Saturday, June 22, 2013 - 05:32

License: EPL 2.0

Date Updated: Friday, October 6, 2023 - 10:51

Submitted by: Philip Graf

Screenshot
Date Ranking Installs Clickthroughs
December 2023 77/541 96 2
November 2023 83/686 536 9
October 2023 84/673 521 11
September 2023 90/663 464 18
August 2023 83/673 489 17
July 2023 110/668 352 17
June 2023 86/669 527 11
May 2023 175/671 174 19
April 2023 584/667 3 13
March 2023 130/686 376 15
February 2023 112/667 408 34
January 2023 109/675 405 20
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 3

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for eclipse-pmd.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

I was expecting some default rule sets. But the initial list of rule sets it ships with is completely empty. That's disappointing for new users.

Shouldn't the plugin come with some default rule sets?

Please do not request any type of support here. This review section is not monitored.

If you need help on how to get started, then read the instructions on how to configure eclipse-pmd on its website.

If you found a bug or have any questions that are not coverd by the instructions on the website, then open a new issue on GitHub.

I have added the plugin in my eclipse 2020-03. Enabled PMD for the project. Asking for selecting rule set.

How to get that xml rule set ? and then finally, how to use this plug in for static code analysis ? Any help... 

It's getting enabled but not working as expected. Eclipse should check the plug-in before making it available officially. Doesn't work on Windows as well as Mac O/S with Java 8

In reply to by Jay Xu

I ran into the same issue. See stackoverflow.com/questions/24880472/howto-use-pmd-plugin-in-eclpise-4-3-running-on-java-8/25039721#25039721. The fix (dated 7/22) is available from their build snapshot repository, will be in the next PMD plugin release.

This plugin woks well, the main reason I use it, is the enablement and the cache of rules are not linked to a workspace state as the other PMD plugin.
This ensure the whole team use the last rules definition.