FindBugs and PMD applied on J2EE 5

2008年08月19日 00:05 • 查看 8 次 • 打印本文

After few months of a fun learning curve - coding WSDL-first Web Services based on EJB 3 and JPA - I found some time to include automated quality tasks in my project with ant scripts of FindBugs and PMD. As expected, the first round of quality assurance returned me a long list of bugs, most of them trivial mistakes like non public fields or unused methods. After the first cleanup, some bugs remained in the report, and after few quality review cycles I got a set of tricky bugs - the ones you can’t imagine the solution and the ones that definitely don’t seem a bug. In the next sections I will unveil this tricky bugs and the workarounds I adopted to eliminate them. I hope you agree with my strategy, and I would appreciate a feedback in case you disagree.

查看原文 »

评论

发表评论