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

News Release: Tizra Announces an Open Platform for Interactive Publishing at Tools of Change

Web-based software lets publishers build interaction and community around their content, without being locked into proprietary tools and devices.

February 13, 2013 (New York, NY)--Tizra announced today at the O'Reilly Tools of Change Conference a combination of upgraded user interfaces and content management tools that provide publishers with a new option for publishing interactive digital content.  The system builds on the open standards of the web, providing an alternative to proprietary "walled garden" systems, which require publishers to commit to authoring tools, viewing devices and distribution channels controlled by specific vendors.

The new platform being demonstrated at the conference includes a completely re-designed web-based content viewing interface, which improves usability and compatibility across all the most popular web browsers and viewing devices, as well as enhanced linking and the ability to deliver access-controlled files in any digital format.

&q…

New Mobile-Optimized Template Simplifies Site Design

Pre-designed templates are increasingly popular as a quick way to get new Tizra sites launched, or to refresh the design of an existing site.  A key driver in both cases is keeping up with increasingly high user expectations for ease of use and visual appeal, particularly on mobile devices. To address these needs, we’ve released a major upgrade to our Bootstrap-based responsive design template. The new version makes it much easier to customize with your own colors and logo, improves mobile interaction with the latest version of the Bootstrap framework, and adds numerous other visual and usability refinements.

Existing Tizra customers can try it out now by selecting the “Bootstrap Responsive Template” in the PRESENTATION area. Or if you’d like to see a quick preview, take a look at this demo site… https://abedemo.tizrapublisher.com

Free MIT Press Webinar: Building an Ebook Site with Tizra

Exploiting Tizra's iPhone compatibility is one topic on the webinar agenda.When MIT Press launched CISnet just over a year ago, they were trying something radical: Creating a custom ebook site without investing in custom software and without expensive content conversion. The result was in the words of revered computer science professor Hal Abelson, "a treasure." Now MIT Press has very kindly agreed to share some of what they've learned from their experience developing CISnet on the Tizra platform, and some of their ideas for future expansion.Join MIT Press Editorial Director Gita Manaktala, and Digital Publishing Manager Jake Furbush for a free webinar…Tuesday, October 27 at 3pm EDTSpace is limited. Reserve your seat now! We look forward to a fascinating discussion.