Tom Copeland's Recent Posts

RSS Feeds

« Advice from former PHPers | Main | PMD on Subversion, huzzah! »

PMD 4.0rc1 released!

PMD 4.0 rc1 is out!  There are nine new rules, most of them in the J2EE ruleset thanks to Romain Pelisse.  The XPath rules are much faster thanks to a "rule chaining" optimization implemented by Ryan Gustafson and Xavier Le Vourch.    CPD now supports an "encoding" parameter, several more Java 1.5 parsing issues were cleaned up (writing a JavaCC book helps with that sort of thing), and PMD now uses less memory.  Here's the download and here are the release notes.

As far as PMD internals go, I'm happy to report that we're on Java 1.5 now, so lots of casts and other such cruft are gone from the PMD source code and have been replaced with generics and such.  And we're using JUnit 4 now, which is quite nice.  Props to Xavier Le Vourch for spearheading this effort, and for writing RetroWeaver so that folks who don't have a Java 1.5 runtime available can still use PMD. 

Using PMD?  Get the PMD book!

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451d3c069e200e55070a6968834

Listed below are links to weblogs that reference PMD 4.0rc1 released!:

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.