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

2018 Tizra User Summit: What We Learned by Meeting Our Customers Where We Are

They say you should "meet your customers where they are." Well, for Tizra's 4th annual user conference we decided to take a chance and do the opposite. Instead of going to Chicago or DC, where Tizra customers are concentrated, we bet on hosting in our home town of Providence, RI. It's not that we don't love Chicago and DC, but we really felt we could do something special with the home field advantage. As it turns out, we were right.

The Tizra user community is a silo-busting mix of creatives, technologists, content strategists and executives, who share the goal of building, engaging and generating value from audiences with digital content. For this crowd, we didn't want a sterile conference facility. We felt that by giving them a place they could really connect with, we'd help them connect with each other. Providence, with its vibrant tech and design scene, walkable downtown, and non-traditional venues, provided just the funky catalyst we were looking fo…

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…

Stanford's HighWire Press Picks Tizra

We're thrilled to announce a new partnership with Stanford University's HighWire Press.  It's exciting not only as an opportunity to work side-by-side with a longtime leader in online publishing, but also as validation of the robustness and flexibility we have worked so hard to build into Tizra.  HighWire has been serving up some of the most prestigious online journals in the world since 1995, and they are extremely selective about the technology they offer their customers.

But the real proof of the collaboration's value is the response from the marketplace, with organizations including Project MUSE (Johns Hopkins University Press), Duke University Press, and GeoScienceWorld already signed on in advance of the product's launch.  Clearly, the increased discoverability, ease of use and agility resulting from the collaboration are what publishers—and readers—are looking for.

Further details on the partnership are in the news release below.  A PDF version is also avai…