Skip to main content

PMD static Java code analysis tool

How many times have you, in your developer life, smacked our head and screamed "that was sooo obvious!" upon discovering a bug ? And how many times those were pretty simple bugs that could have been caught just by looking closely at the code and finding a silly mistake ? I'm guessing too many times.... :-) PMD, no real meaning to the acronym (see here), is a pretty handy tool that if used with some frequency can help you at least save your head from the smacking. PMD is a Java code analysis tool that draws from an experience-driven rule set to look into your code and flag possible mistakes. From unused imports to the always error prone braceless if statement, PMD can give you a pretty good coverage of what you can do to improve your code and reduce the probability of making a silly mistake. PMD can be run from within your ant or maven build file should you want to make running it part of your build process. You can find plugins for most of the popular IDEs to make it even simpler to run it and enhance your code. PMD is extensible letting you add your rules should you wish to enforce any kind of rule to your project. Finally, PMD is open sourced, licensed under a BSD-style license and available at sourceforge. All in all a pretty cool and valuable tool to improve your development process and maybe keep your development team a bit saner.

Comments

Popular posts from this blog

Optimizing eContent Sales: 5 Strategies for Monetizing Content

Targeted promotions and content bundle upsells are two ideas to test in optimizing sales. This is the third in a series of blog posts based on our webcast,  "10 Factors to Consider when Developing your Digital Publishing Strategy."  You can still watch it in its entirety here: So far we have talked about the importance of understanding your   audience  and whether or not to sell direct . Today, we investigate the various monetization strategies publishers utilize.  The entire publishing industry has been experimenting with pricing and delivery models, from the Netflix-like subscription services offered by Oyster and Scribd, to bundling of ebooks with print editions, to chapter-at-a-time sales and more. Yet no single pricing model has emerged.  What does that tell publishers? It means that you need the flexibility to experiment with your pricing strategy and adapt quickly to market fluctuations and demands. You will need a commerce and delivery...

Slater Invests in Tizra

This is a big one for us. Rhode Island's Slater Technology Fund is betting $500,000 that Tizra will "really open the floodgates for book-based content from thousands of publishers." Their investment caps a year in which we've gone from four people , two dogs and an idea to a company that someone besides us and our friends and families believe will set online publishing on its ear. We even have our very own Forbes article . Thanks to the folks at Slater for being great advisors as well as investors, and to the many friends and family members who preceded them!

Association of Research Libraries Goes Live with Tizra

After extensive internal testing, the Association of Research Libraries has begun offering recent issues of its flagship publication on a public test site hosted by Tizra. The organization announced recently that Research Library Issues is now available in full-text searchable form at… http://publications.arl.org We're thrilled about this, not only because because it's a vote of confidence from a high profile organization, but also because ARL's membership includes some of the most prestigious research institutions in the world (including the libraries of MIT and Indiana University, whose presses are already using Tizra). In addition to greater production efficiency and flexibility, ARL's use of Tizra stems from a desire to provide members with capabilities including… Better full-text search. More targeted references via social software and other links. Better compatibility with web enabled mobile devices like the iPhone. We are proud to count ARL—and RLI reade...