eclipse-pmd

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

2024-09 (4.33), 2024-06 (4.32), 2024-03 (4.31), 2023-12 (4.30)

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

2023-09 (4.29)

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

2023-06 (4.28)

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

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

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

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), 2024-03 (4.31), 2024-06 (4.32), 2024-09 (4.33)

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: 2024-09 (4.33), 2024-06 (4.32), 2024-03 (4.31), 2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 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: Sunday, October 6, 2024 - 15:03

Submitted by: Philip Graf

Date Ranking Installs Clickthroughs
October 2024 79/529 76 2
September 2024 80/642 374 16
August 2024 61/641 449 25
July 2024 77/663 405 19
June 2024 82/681 404 22
May 2024 73/682 503 153
April 2024 60/687 672 17
March 2024 60/694 739 16
February 2024 85/687 405 21
January 2024 92/691 423 14
December 2023 86/671 426 13
November 2023 83/686 536 9
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 2

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.