PMD / News: Recent posts

PMD 5.0.3 released

Posted by Andreas Dangel 2013-04-05

PMD 5.0.2 released

Posted by Andreas Dangel 2013-02-03

PMD 5.0.1 released

  • 22 bugs fixed: https://sourceforge.net/p/pmd/bugs/milestone/PMD-5.0.1/
  • New EcmaScript Rule: Basic ruleset: AvoidTrailingComma
  • Improved JSP parser to be less strict with not valid XML documents (like HTML)
  • Improved CPD: Support in CPD for IgnoreAnnotations and SuppressWarnings("CPD-START")
  • PMD Command Line: Improved command line interface (CLI) parsing using JCommander.

For details, see https://sourceforge.net/projects/pmd/files/pmd/5.0.1/

Posted by Andreas Dangel 2012-11-29

PMD 4.2.6 released

This release includes:

bug fixes to existing rules

Modify (and hopefully fixed) CPD algorithm.
The JSP/JSF parser can now parse Unicode input.
The JSP/JSP parser can now handle <script>...</script> tags. The AST HtmlScript node contains the content.
Added Ecmascript as a supported language for CPD.

Android ruleset: CallSuperLast rule now also checks for finish() redefinitions

New rule:
Android: DoNotHardCodeSDCard
Controversial : AvoidLiteralsInIfCondition (patch 2591627), UseConcurrentHashMap
StrictExceptions : AvoidCatchingGenericException, AvoidLosingExceptionInformation
Naming : GenericsNaming
JSP: NoInlineScript... read more

Posted by Romain PELISSE 2011-09-17

PMD 4.2.5 released

This release includes:

bug fixes to existing rules

a new rule AvoidThrowingNewInstanceOfSameException in strictexception.xml

a new ruleset android.xml, for new rules specific to the Android platform

Posted by Xavier Le Vourch 2009-02-09

PMD: 4.2.3 released

PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth.

This release fixes a few bugs in the 4.2.2 version but does not introduce major changes. See the Changelog for details.

The refactoring effort that will lead to pmd 5.0
has been started on the main trunk (5.0 will not
be backward compatible with pmd 4.x). We may
release other 4.2.x versions with minor fixes if
needed until 5.0 is released. ... read more

Posted by Xavier Le Vourch 2008-09-03

PMD 4.2.2 released

This release fixes a few bugs in the 4.2.1 version
but does not introduce major changes. See the
Changelog for details.

The refactoring effort that will lead to pmd 5.0
has been started on the main trunk (5.0 will not
be backward compatible with pmd 4.x). We may
release other 4.2.x versions with minor fixes if
needed until 5.0 is released.

The binary and source packages are available at:

http://sourceforge.net/project/showfiles.php?group_id=56262&package_id=51441&release_id=600660

and the full changelog is here:

http://sourceforge.net/project/shownotes.php?release_id=600660&group_id=56262

Xavier Le Vourch

Posted by Xavier Le Vourch 2008-05-20

PMD: JDeveloper plugin updated

PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth.

Thanks to Torsten Kleiber, the JDeveloper plugin has been updated! It now includes PMD version 4.2 and the import/export feature is available for JDev 10.1.3. You can get it here:

http://sourceforge.net/project/showfiles.php?group_id=56262&package_id=75287

Enjoy!

Posted by Tom Copeland 2008-04-23

Eclipse plugin 3.2.4 released

The eclipse plugin is based on the just released pmd 4.2.1 and includes several enhancements and bug fixes.

The release notes and changelog can be accessed at:

http://sourceforge.net/project/shownotes.php?release_id=591576&group_id=56262

Xavier Le Vourch

Posted by Xavier Le Vourch 2008-04-12

PMD 4.2.1 released

This release fixes a few bugs in the 4.2 version
but does not introduce major changes. See the
Changelog for details.

The refactoring effort that will lead to pmd 5.0
has been started on the main trunk (5.0 will not
be backward compatible with pmd 4.x). We may
release other 4.2.x versions with minor fixes if
needed until 5.0 is released.

The binary and source packages are available at:

http://sourceforge.net/project/showfiles.php?group_id=56262&package_id=51441&release_id=591563... read more

Posted by Xavier Le Vourch 2008-04-11

Merry Christmas!

And a happy new year to everyone!

Posted by Tom Copeland 2007-12-25

JDeveloper plugin updated

Torsten Kleiber has updated the JDeveloper plugin; it now includes the latest release and also has a couple of bug fixes. You can get it here:

https://sourceforge.net/project/showfiles.php?group_id=56262&package_id=75287&release_id=560441

Thanks to Torsten for keeping this plugin current!

Posted by Tom Copeland 2007-12-11

Eclipse plugin 3.2.3 released

A new version of the eclipse plugin was released earlier today.

It now uses pmd 4.1 and fixes a few bugs in the preferences and ruleset handling.

It's available on the download page or using the Eclipse update site.

Xavier

Posted by Xavier Le Vourch 2007-12-03

Netbeans plugin updated

Radmin Kubacki has updated the Netbeans plugin; this new release includes PMD 4.1 and supports NB 6.0. You can grab it here:

http://sourceforge.net/project/showfiles.php?group_id=56262&package_id=63621&release_id=555642

Enjoy!

Posted by Tom Copeland 2007-11-22

PMD 4.1 released

PMD 4.1 has been released. Highlights for this release include a number of bug fixes for false positives and fourteen new rules.

You can get PMD 4.1 here:

https://sourceforge.net/project/showfiles.php?group_id=56262&package_id=51441&release_id=554834

and the full changelog is here:

https://sourceforge.net/project/shownotes.php?release_id=554834&group_id=56262

Share and Enjoy!

Xavier Le Vourch

Posted by Xavier Le Vourch 2007-11-17

JDeveloper plugin release!

Torsten Kleiber has released a new version of the PMD JDeveloper plugin! The first release in two years, this brings the plugin up to date so that it now includes PMD 4.0 - and it also works with JDeveloper 11. You can get the plugin here:

https://sourceforge.net/project/showfiles.php?group_id=56262&package_id=75287&release_id=530073

Thanks to Torsten for getting this plugin up to date!

Posted by Tom Copeland 2007-08-13

Welcome aboard to Romain Pelisse

A hearty welcome aboard to Romain Pelisse; he'll continue to work on the PMD core. Welcome, Romain!

Posted by Tom Copeland 2007-08-04

Netbeans plugin updated

Radim Kubacki has updated the Netbeans plugin to include PMD 4.0; you can download the plugin here:

http://sourceforge.net/project/showfiles.php?group_id=56262&release_id=527274

Thanks to Radim for keeping this plugin up to date!

Posted by Tom Copeland 2007-07-25

PMD 4.0 released!

PMD 4.0 is released! This release moves PMD firmly into the Java 1.5 world; PMD now defaults to expecting Java 1.5 code and also uses Java 1.5 extensively internally. Other changes since PMD 3.9 include ten new rules, prodigious XPath rule speedups, better memory usage, and lots of bugfixes all around. You can get PMD 4.0 here:

https://sourceforge.net/project/showfiles.php?group_id=56262&package_id=51441&release_id=524515... read more

Posted by Tom Copeland 2007-07-20

PMD 4.0rc2 released!

PMD 4.0rc2 is out! It contains a few bugfixes since rc1, and it now expects to process Java 1.5 source code by default. You can get it here:

https://sourceforge.net/project/showfiles.php?group_id=56262&package_id=51441&release_id=522864

Enjoy!

Posted by Tom Copeland 2007-07-13

Welcome aboard to Torsten Kleiber

A hearty welcome to Torsten Kleiber; he'll be working on the JDeveloper plugin. Thanks Torsten!

Posted by Tom Copeland 2007-07-05

Eclipse plugin updated!

The Eclipse plugin has been updated thanks to Philippe Herlin. This update includes PMD 4.0rc1, a couple of bugfixes, and should be a much lighter install since now it just points to the PMD web site. You can grab it here:

https://sourceforge.net/project/showfiles.php?group_id=56262&release_id=479564

Enjoy!

Posted by Tom Copeland 2007-06-26

PMD 4.0rc1 released!

PMD 4.0rc1 is out the door with nine new code checking rules, tremendous XPath rule speedups, better memory usage, and a slew of bugfixes. You can download it here:
http://sourceforge.net/project/showfiles.php?group_id=56262&package_id=51441&release_id=518258
and release notes are here:
http://sourceforge.net/project/shownotes.php?release_id=518258&group_id=56262
Enjoy!

Posted by Tom Copeland 2007-06-24

Netbeans plugin updated

The Netbeans plugin has been updated; there's a bugfix and it now includes PMD 3.9. You can get it here:

https://sourceforge.net/project/showfiles.php?group_id=56262&package_id=63621

Thanks to Radim Kubacki for keeping this plugin current!

Posted by Tom Copeland 2007-03-15

More Eclipse plugin updates

Philippe has released another bugfix update to the Eclipse plugin; specifically:

Fix 1583788 StackOverflowError in rule edit window
Fix 1641930 Creation of ruleset.xml file causes error in Eclipse
Fix 1645449 Views broken in 3.2.0 with Eclipse 3.2.1 on Solaris


You can get this latest release here:

https://sourceforge.net/project/showfiles.php?group_id=56262&package_id=53767&release_id=479564... read more

Posted by Tom Copeland 2007-02-16