PMD

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
  

Articles:
  • Bug patrol by Joe Walker   - [Clicks: 82]
    Joe Walker examines different types of bugs and seven tools to help you uncover them.
    [FindBugs, PMD/CPD, Checkstyle, Jalopy/Jacobe, JDepend, JUnit, Eclipse]
    http://www.javaworld.com/javaworld/jw-11-2003/jw-1121-quality.html - Nov, 2003
  • Custom PMD Rules by Tom Copeland   - [Clicks: 44]
    In this article, we'll take a closer look at the AST, how it is generated, and some of its complexities. Then we'll write a custom PMD rule to find the creation of Thread objects. We'll write this custom rule two ways, first in the form of a Java class, and then in the form of an XPath expression.
    http://www.onjava.com/pub/a/onjava/2003/04/09/pmd_rules.html - Apr, 2003
  • Detecting Duplicate Code with PMD's CPD by Tom Copeland   - [Clicks: 41]
    A program with a lot of duplicated code is headed for trouble. Duplicated code means that bugs can appear in several places. It means longer compilation times and bigger binaries. It means major pain for whoever has to go through the program and make changes. Fortunately, there's a little open source utility called CPD--the copy/paste detector--that finds duplicate Java code for you.
    http://www.onjava.com/pub/a/onjava/2003/03/12/pmd_cpd.html - Mar, 2003
  • Static Analysis with PMD by Tom Copeland   - [Clicks: 46]
    We've discussed static code analysis and how problems can be found without needing to compile and run the code. We've had a quick tour of EBNF grammars and JavaCC, as well as a brief discussion of an Abstract Syntax Tree. We've seen how PMD uses all of that to check source code, and we've seen how to write a custom rule to implement rules specific to your project. There's much more information at the PMD web site; give it a try!
    http://www.onjava.com/pub/a/onjava/2003/02/12/static_analysis.html - Feb, 2003

[Top]