eclipse-pmd 4.1

Release: 25.10.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/4.1

7.7.0

The embedded PMD has been updated to version 7.7.0.

eclipse-pmd 4.0

Release: 6.10.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/4.0

New Minimum Requirements

You need Eclipse 2023-12 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

You also need to run Eclipse with Java 21 or later. You can still compile and analyze projects that use an older Java version. To set the JVM, you have to set the parameter -vm in your eclipse.ini accordingly. The Eclipse Wiki explains how to set up the JVM correctly.

7.6.0

The embedded PMD has been updated to version 7.6.0.

eclipse-pmd 3.12

Release: 30.8.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.12

7.5.0

The embedded PMD has been updated to version 7.5.0.

eclipse-pmd 3.11

Release: 26.7.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.11

7.4.0

The embedded PMD has been updated to version 7.4.0.

eclipse-pmd 3.10

Release: 28.6.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.10

New Minimum Requirements

You need Eclipse 2023-09 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

7.3.0

The embedded PMD has been updated to version 7.3.0.

eclipse-pmd 3.9

Release: 1.6.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.9

7.2.0

The embedded PMD has been updated to version 7.2.0.

eclipse-pmd 3.8

Release: 2.5.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.8

7.1.0

The embedded PMD has been updated to version 7.1.0.

Bugfix

This release fixes a bug where the PMD property page could not be created if the plugin could not to find the ruleset file.

eclipse-pmd 3.7

Release: 7.4.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.7

Invalid Rule Sets

The PMD property page now marks invalid rule sets with an error marker and an offers a tool tip with a hint.

New Minimum Requirements

You need Eclipse 2023-06 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

eclipse-pmd 3.6

Release: 24.3.2024
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.6

7.0.0

The embedded PMD has been updated to version 7.0.0.

Support for Kotlin

eclipse-pmd now also supports Kotlin.

Analyze Kotlin files
Support for Swift

eclipse-pmd now also supports Swift.

Analyze Swift files
New Minimum Requirements

You need Eclipse 2023-06 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

eclipse-pmd 3.5

Release: 26.2.2023
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.5

PMD 6.55.0

The embedded PMD has been updated to version 6.55.0.

eclipse-pmd 3.4

Release: 5.2.2023
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.4

Type Resolution for Java

eclipse-pmd now adds the classpath for those Java PMD rules using type resolution.

PMD 6.54.0

The embedded PMD has been updated to version 6.54.0.

eclipse-pmd 3.3

Release: 2.1.2023
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.3

New Minimum Requirements

You need Eclipse 2022-03 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

PMD 6.53.0

The embedded PMD has been updated to version 6.53.0.

eclipse-pmd 3.2

Release: 26.11.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.2

PMD 6.52.0

The embedded PMD has been updated to version 6.52.0.

eclipse-pmd 3.1

Release: 30.10.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.1

PMD 6.51.0

The embedded PMD has been updated to version 6.51.0.

eclipse-pmd 3.0

Release: 15.10.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/3.0

New Minimum Requirements

You need Eclipse 2019-12 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

You also need to run Eclipse with Java 17 or later. You can still compile and analyze projects that use an older Java version. To set the JVM, you have to set the parameter -vm in your eclipse.ini accordingly. The Eclipse Wiki explains how to set up the JVM correctly.

PMD 6.50.0

The embedded PMD has been updated to version 6.50.0.

eclipse-pmd 2.25

Release: 31.8.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.25

PMD 6.49.0

The embedded PMD has been updated to version 6.49.0.

eclipse-pmd 2.24

Release: 31.7.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.24

PMD 6.48.0

The embedded PMD has been updated to version 6.48.0.

eclipse-pmd 2.23

Release: 27.6.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.23

New Minimum Requirements

You need Eclipse 2021-09 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

PMD 6.47.0

The embedded PMD has been updated to version 6.47.0.

eclipse-pmd 2.22

Release: 29.5.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.22

PMD 6.46.0

The embedded PMD has been updated to version 6.46.0.

eclipse-pmd 2.21

Release: 30.4.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.21

Support for HTML

eclipse-pmd now also supports HTML.

Analyze HTML files
PMD 6.45.0

The embedded PMD has been updated to version 6.45.0.

eclipse-pmd 2.20

Release: 3.4.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.20

New Minimum Requirements

You need Eclipse 2021-06 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

PMD 6.44.0

The embedded PMD has been updated to version 6.44.0.

eclipse-pmd 2.19

Release: 27.2.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.19

PMD 6.43.0

The embedded PMD has been updated to version 6.43.0.

eclipse-pmd 2.18

Release: 29.01.2022
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.18

New Minimum Requirements

You need Eclipse 2021-03 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

PMD 6.42.0

The embedded PMD has been updated to version 6.42.0.

eclipse-pmd 2.17

Release: 01.12.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.17

PMD 6.41.0

The embedded PMD has been updated to version 6.41.0.

eclipse-pmd 2.16

Release: 30.10.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.16

PMD 6.40.0

The embedded PMD has been updated to version 6.40.0.

eclipse-pmd 2.15

Release: 26.09.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.15

New Minimum Requirements

You need Eclipse 2020-12 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

Remove unnecessary noisy debug log message

Sebastian Ratz contributed a change that removes noisy log messages in the Eclipse error log.

PMD 6.39.0

The embedded PMD has been updated to version 6.39.0.

eclipse-pmd 2.14

Release: 29.08.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.14

PMD 6.38.0

The embedded PMD has been updated to version 6.38.0.

eclipse-pmd 2.13

Release: 03.08.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.13

PMD 6.37.0

The embedded PMD has been updated to version 6.37.0.

eclipse-pmd 2.12

Release: 02.07.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.12

PMD 6.36.0

The embedded PMD has been updated to version 6.36.0.

eclipse-pmd 2.11

Release: 06.06.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.11

PMD 6.35.0

The embedded PMD has been updated to version 6.35.0.

eclipse-pmd 2.10

Release: 26.04.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.10

PMD 6.34.0

The embedded PMD has been updated to version 6.34.0.

eclipse-pmd 2.9

Release: 28.03.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.9

PMD 6.33.0

The embedded PMD has been updated to version 6.33.0.

eclipse-pmd 2.8

Release: 27.02.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.8

PMD 6.32.0

The embedded PMD has been updated to version 6.32.0.

eclipse-pmd 2.7

Release: 02.02.2021
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.7

PMD 6.31.0

The embedded PMD has been updated to version 6.31.0.

eclipse-pmd 2.6

Release: 13.12.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.6

Support for Salesforce VisualForce

eclipse-pmd now also supports Salesforce VisualForce.

Analyze VisualForce files
PMD 6.30.0

The embedded PMD has been updated to version 6.30.0.

eclipse-pmd 2.5

Release: 25.10.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.5

Bugfix

This release fixes a bug where the plugin did not mark the correct location if the code uses tabs for indentation.

PMD 6.29.0

The embedded PMD has been updated to version 6.29.0.

eclipse-pmd 2.4.2

Release: 4.10.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.4

Bugfix

This release fixes a bug where a cached rule set would not be invalidated when its corresponding rule set file is changed.

eclipse-pmd 2.4.1

Release: 29.9.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.4

Bugfix

This release updates a dependency that prevented PMD from analyzing some Java files.

eclipse-pmd 2.4

Release: 28.9.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.4

New Minimum Requirements

You need Eclipse 2019-12 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

PMD 6.28.0

The embedded PMD has been updated to version 6.28.0.

eclipse-pmd 2.3

Release: 2.9.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.3

PMD 6.27.0

The embedded PMD has been updated to version 6.27.0.

eclipse-pmd 2.2

Release: 25.7.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.2

Analyze projects concurrently

The plugin can now analyze projects concurrently (if nothing else during the build locks the entire workspace).

PMD 6.26.0

The embedded PMD has been updated to version 6.26.0.

eclipse-pmd 2.1

Release: 28.6.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.1

New Minimum Requirements

You need Eclipse 2019-09 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

PMD 6.25.0

The embedded PMD has been updated to version 6.25.0.

eclipse-pmd 2.0

Release: 5.6.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/2.0

New Minimum Requirements

You need Eclipse 2019-06 or later to run eclipse-pmd. Eclipse releases older than one year are not supported anymore.

You also need to run Eclipse with Java 11 or later. You can still compile and analyze projects that use an older Java version. To set the JVM, you have to set the parameter -vm in your eclipse.ini accordingly. The Eclipse Wiki explains how to set up the JVM correctly.

Support for Apex

eclipse-pmd now also supports Apex, a language to execute flow and transaction control statements on Salesforce servers.

Analyze Apex files
PMD 6.24.0

The embedded PMD has been updated to version 6.24.0.

eclipse-pmd 1.28

Release: 3.5.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.28

PMD 6.23.0

The embedded PMD has been updated to version 6.23.0.

eclipse-pmd 1.27

Release: 13.3.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.27

PMD 6.22.0

The embedded PMD has been updated to version 6.22.0.

eclipse-pmd 1.26

Release: 25.1.2020
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.26

Support for Modelica

eclipse-pmd now also supports Modelica, a language to model complex physical systems.

Analyze Modelica files
PMD 6.21.0

The embedded PMD has been updated to version 6.21.0.

eclipse-pmd 1.25

Release: 2.12.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.25

PMD 6.20.0

The embedded PMD has been updated to version 6.20.0 (except for the Scala rules which are still at version 6.17.0 due to an issue with a dependency).

eclipse-pmd 1.24

Release: 3.11.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.24

PMD 6.19.0

The embedded PMD has been updated to version 6.19.0 (except for the Scala rules which are still at version 6.17.0 due to an issue with a dependency).

eclipse-pmd 1.23

Release: 7.10.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.23

PMD 6.18.0

The embedded PMD has been updated to version 6.18.0 (except for the Scala rules which are still at version 6.17.0 due to an issue with a new dependency).

eclipse-pmd 1.22

Release: 4.9.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.22

PMD 6.17.0

The embedded PMD has been updated to version 6.17.0.

eclipse-pmd 1.21

Release: 30.6.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.21

PMD 6.16.0

The embedded PMD has been updated to version 6.16.0.

eclipse-pmd 1.20

Release: 26.5.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.20

PMD 6.15.0

The embedded PMD has been updated to version 6.15.0.

eclipse-pmd 1.19

Release: 30.4.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.19

PMD 6.14.0

The embedded PMD has been updated to version 6.14.0.

eclipse-pmd 1.18

Release: 31.3.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.18

PMD 6.13.0

The embedded PMD has been updated to version 6.13.0.

eclipse-pmd 1.17

Release: 24.2.2019
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.17

PMD 6.12.0

The embedded PMD has been updated to version 6.12.0.

eclipse-pmd 1.16

Release: 2.12.2018
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.16

PMD 6.9.0

The embedded PMD has been updated to version 6.9.0.

eclipse-pmd 1.15

Release: 27.10.2018
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.15

PMD 6.8.0

The embedded PMD has been updated to version 6.8.0.

eclipse-pmd 1.14

Release: 4.8.2018
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.14

PMD 6.6.0

The embedded PMD has been updated to version 6.6.0.

eclipse-pmd 1.13

Release: 9.6.2018
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.13

PMD 6.4.0

The embedded PMD has been updated to version 6.4.0.

eclipse-pmd 1.12

Release: 29.4.2018
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.12

PMD 6.3.0

The embedded PMD has been updated to version 6.3.0.

eclipse-pmd 1.11

Release: 2.4.2018
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.11

PMD 6.2.0

The embedded PMD has been updated to version 6.2.0.

eclipse-pmd 1.10

Release: 4.7.2017
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.10

PMD 5.8.1

The embedded PMD has been updated to version 5.8.1.

eclipse-pmd 1.9

Release: 29.5.2017
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.9

Exclude files in derived folders

Until now eclipse-pmd did exclude files that were marked as derived but not files that had only one of its parent folders marked as derived but were not marked themselves. Now it is enough to mark a folder as derived and eclipse-pmd will exclude all of its files.

Exclude files in derived folders
PMD 5.7.0

The embedded PMD has been updated to version 5.7.0.

eclipse-pmd 1.8

Release: 6.12.2015
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.8

PMD 5.4.1

The embedded PMD has been updated to version 5.4.1.

eclipse-pmd 1.7

Release: 1.11.2015
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.7

Quick fixes

New quick fixes are available for the following rules: AddEmptyString, UseVarargs, UnnecessaryCaseChange.

Quick fix for removing the empty string
PMD 5.4.0

The embedded PMD has been updated to version 5.4.0.

eclipse-pmd 1.6

Release: 26.7.2015
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.6

Quick fixes

New quick fixes are available for the following rules: MethodReturnsInternalArray.

Quick fix for returning a clone of an array instead of the array itself
PMD 5.3.3

The embedded PMD has been updated to version 5.3.3.

eclipse-pmd 1.5

Release: 23.5.2015
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.5

Mark invalid rule sets

Invalid rule sets are marked in the PMD property page with an icon.

Invalid rule sets are marked
Quick fixes

New quick fixes are available for the following rules: UseUtilityClass.

Quick fix for converting a class into an utility class
PMD 5.3.2

The embedded PMD has been updated to version 5.3.2.

eclipse-pmd 1.4.1

Release: 19.3.2015
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.4

Bugfix

This release fixes a gnarly class loader bug in version 1.4 which sometimes prevents eclipse-pmd from running PMD with an error message like "Unknown Language 'java' for Rule JumbledIncrementer".

eclipse-pmd 1.4

Release: 21.12.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.4

PMD 5.2.2

The embedded PMD has been updated to version 5.2.2.

eclipse-pmd 1.3

Release: 19.11.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.3

PMD 5.2.1

The embedded PMD has been updated to version 5.2.1.

eclipse-pmd 1.2

Release: 2.9.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.2

PMD 5.1.3

The embedded PMD has been updated to version 5.1.3.

eclipse-pmd 1.1.1

Release: 15.8.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.1

Bugfix

This release fixes a bug in version 1.1 which prevents eclipse-pmd from executing the Java rules OneDeclarationPerLine and AvoidLiteralsInIfCondition.

eclipse-pmd 1.1

Release: 10.8.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.1

Quick fixes

New quick fixes are available for the following rules: IntegerInstantiation, ByteInstantiation, ShortInstantiation, LongInstantiation.

Quick fix for fixing an unnecessary integer instantiation
PMD 5.1.2

The embedded PMD has been updated to version 5.1.2.

eclipse-pmd 1.0.2

Release: 13.7.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.0

Bugfix

This release fixes a bug in version 1.0.1 which prevents eclipse-pmd from analysing Apache Velocity templates.

eclipse-pmd 1.0.1

Release: 5.7.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.0

Bugfix

This release fixes a bug in version 1.0.0 which prevents setting up a new workspace relative rule set configuration if the project containing the rule set file is stored outside the workspace folder.

eclipse-pmd 1.0

Release: 4.6.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/1.0

PMD 5.1.1

The embedded PMD has been updated to version 5.1.1.

eclipse-pmd 0.9

Release: 1.3.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.9

PMD 5.1.0

The embedded PMD has been updated to version 5.1.0

eclipse-pmd 0.8.1

Release: 8.2.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.8

Bugfix

This release fixes a critical bug in version 0.8 which prevents the project property dialog from being opened when Eclipse runs on the early access version of Oracle's JDK 8.

eclipse-pmd 0.8

Release: 26.1.2014
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.8

Shareable eclipse-pmd configuration

The eclipse-pmd configuration is now stored in the file .eclipse-pmd in the root of each project. This makes it easy to share an eclipse-pmd configuration across a development team by putting it in version control with the rest of the code. When someone from the team changes the configuration an puts it in version control, eclipse-pmd will automatically apply the changes when the other team members fetch the updated configuration from version control.

eclipse-pmd stored the configuration in the workspace of your Eclipse installation up to version 0.8. eclipse-pmd will convert the configuration automatically after you use eclipse-pmd the first time after updating to version 0.8.

Share the eclipse-pmd configuration with your team
Message when running on an unsupported JVM

eclipse-pmd needs to run on a Java 7 VM. As Eclipse happily installs plug-ins that will not run due to their runtime requirements, eclipse-pmd now shows a message on the PMD property page explaining the situation and how to resolve it.

Share the eclipse-pmd configuration with your team
Quick fixes

New quick fixes are available for the following rules: UselessOverridingMethodRule, UnnecessaryReturn.

Quick fix for removing an unnecessary return statement

eclipse-pmd 0.7

Release: 21.9.2013
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.7

Quick fixes

New quick fixes are available for the following rules: AppendCharacterWithChar, UseIndexOfChar, StringToString.

Quick fix for replacing buffer.append("a") with buffer.append('a')
PMD 5.0.5

The embedded PMD has been updated to version 5.0.5

eclipse-pmd 0.6

Release: 9.6.2013
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.6

Remote PMD rule set configurations

eclipse-pmd supports PMD rule set configurations stored at a remote location. Use this type if you have a rule set configuration file that is only available via an URI.

Remote configuration

eclipse-pmd 0.5

Release: 5.5.2013
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.5

PMD 5.0.4

The embedded PMD has been updated to version 5.0.4

eclipse-pmd 0.4

Release: 31.3.2013
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.4

Configure PMD Annotations

This change adds preferences to configure style and colour of PMD annotations in text editors. The General > Editors > Text Editors > Annotations preference page lists the PMD Violations annotation and allows setting its preference values.

Configure PMD Annotations
Quick fixes

New quick fixes are available for the following rules: DefaultLabelNotLastInSwitchStmt, EqualsNull, UseNotifyAllInsteadOfNotify, UseCollectionIsEmpty, SingularField.

Quick fix for replacing x.equals(null) with x == null

eclipse-pmd 0.3

Released: 2.3.2012
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.3

Suppress Warnings

A new quick fix is available that adds a @SuppressWarnings annotation to suppress PMD warnings.

Quick fix for adding a @SuppressWarnings annotation
PMD 5.0.2

The embedded PMD has been updated to version 5.0.2

eclipse-pmd 0.2

Released: 29.1.2013
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.2

Quick fixes

New quick fixes are available for the following rules: EmptyIfStmt, EmptyWhileStmt, EmptyTryBlock, EmptyFinallyBlock, EmptySwitchStatements, EmptySynchronizedBlock, EmptyInitializer, EmptyStatementBlock, EmptyStaticInitializer, EmptyStatementNotInLoop, RedundantFieldInitializer, SimplifyStartsWith.

Quick fix for removing an empty if statement
PMD 5.0.1

The embedded PMD has been updated to version 5.0.1

eclipse-pmd 0.1

Released: 28.12.2012
Eclipse repository: https://eclipse-pmd.acanda.ch/release/latest/0.1

Quick fixes

eclipse-pmd provides quick fixes for a couple of PMD rules that can be fixed automatically. Quick fixes are available for the following rules: ExtendsObject, SuspiciousHashcodeMethodName, LocalVariableCouldBeFinal, MethodArgumentCouldBeFinal.

Quick fixes

You can apply a quick fix to multiple violations of the same type at once if you use the context menu on a PMD problem in the Problems view and select the item "Quick Fix".

Apply a quick fix to multiple violations
Multiple PMD ruleset configurations

This feature lets you use multiple PMD ruleset configurations. Once a configuration is created it is available to all projects in the workspace and can be activated for each project individually.

Multiple PMD ruleset configurations
Workspace and project PMD rule set configurations

Besides the PMD rule set configurations stored at an absolute path in the file system, eclipse-pmd also supports PMD rule set configurations stored relative to the workspace or project. The workspace type is used when you want to use the same PMD rule set configuration for several projects in the workspace. If you want to use a different PMD ruleset configuration for each project, you can use the project type. And as long as those PMD ruleset configurations are at the same place within the projects, you need to set up the configuration only once.

Workspace and project PMD rule set configurations
Support for additional languages

Besides Java, eclipse-pmd now also supports the additional languages that came with PMD 5.0. Supported are JavaScript, XML, XSL and JSP/JSF.

Support for additional languages