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
Tags: PMD, Static Code Analysis, code analyzer, code quality
Additional Details
Eclipse Versions: 2024-09 (4.33), 2024-06 (4.32), 2024-03 (4.31), 2023-12 (4.30), 2024-12 (4.34), 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: Saturday, November 30, 2024 - 08:25
Submitted by: Philip Graf
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
December 2024 | 84/600 | 146 | 6 |
November 2024 | 82/658 | 388 | 15 |
October 2024 | 58/663 | 594 | 10 |
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 |
Unsuccessful Installs
Unsuccessful Installs in the last 7 Days: 5
Reviews Add new review
No default Rule Set
Submitted by James Miller on Tue, 03/08/2022 - 09:52
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?
Support
Submitted by Philip Graf on Wed, 04/29/2020 - 01:34
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.
How to get get a rule set
Submitted by Deep Patel on Mon, 04/27/2020 - 17:43
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...
Re: How to get get a rule set
Submitted by Philip Graf on Wed, 04/29/2020 - 01:20
In reply to How to get get a rule set by Deep Patel
The eclipse-pmd website has instructions on how to configure eclipse-pmd.
Not Supporting Java 10 On Photon . . .
Submitted by Thomas Kirby on Sun, 12/16/2018 - 16:34
Can install current PMD version on Photon but it produces no output on running when the Photon Jvava is version 10.
Always behind the curve on code analysis is Eclipse . . .
Still Non-Functional On Photon / Java 10 At December 2018 . . .
Submitted by Thomas Kirby on Sun, 12/16/2018 - 16:22
Apparently, users applying Java 10 on Eclipse Photon will be able to install PMD current version 4.0.17 but it will not produce any analysis output after running it.
When oh when do starving Eclipse users get a real running code analyzer ?
Doesn't work in Eclipse Oxygen
Submitted by Ashutosh Sharma on Wed, 02/07/2018 - 20:25
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
Re: Doesn't work in Eclipse Oxygen
Submitted by German Pabon on Mon, 02/26/2018 - 05:25
In reply to Doesn't work in Eclipse Oxygen by Ashutosh Sharma
On youtube search this video: "PMD Tool Demonstration - Eclipse Plugin"
Follow these steps and you will succeed ;)
Installation repository ist not avaliable
Submitted by Uwe Peuker on Mon, 08/18/2014 - 03:47
neither the DND nor the URL from the website works?
How to use it in Luna
Submitted by Jay Xu on Thu, 06/12/2014 - 06:24
I installed this plugin in my Luna, but found nowhere to config/use it
Luna 4.4 + JDK8 fix
Submitted by Bob Fields on Wed, 07/30/2014 - 11:02
In reply to How to use it in Luna 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.
Luna 4.4 + JDK8 fix
Submitted by Philip Graf on Sat, 08/16/2014 - 03:34
In reply to Luna 4.4 + JDK8 fix by Bob Fields
The PMD plugin mentioned in the Stackoverflow question (PMD plugin for Eclipse) is not the same as this one (eclipse-pmd). This plugin works well with JDK 8.
The eclipse-pmd website has instructions on how to configure eclipse-pmd.
Better than the original one
Submitted by Fabrice Daugan on Tue, 12/17/2013 - 05:01
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.