tags:

views:

360

answers:

2

We know that PMD is integrated with eclipse. And i want to customize it. say suppose i want all variables to start with small letter or say i want all method name to be more than 8 characters or so on. is it possible to do that?

And does anyone know what PMD stands for?

+5  A: 

You can write new Rules with PMD.
In your case, new XPath Rules would be adequate to quickly examine the AST (Abstract Syntax Tree) and perform the kind of detection you need.

alt text

So you can declare new ruleset and integrate them in your eclipse along with your PMD plugin.


Note: PMD stands for many things ;)

We've been trying to find the meaning of the letters PMD - because frankly, we don't really know. We just think the letters sound good together.

  • Pretty Much Done
  • Project Mess Detector
  • Project Monitoring Directives
  • Project Meets Deadline
  • Programming Mistake Detector
  • Pounds Mistakes Dead
  • PMD Meaning Discovery (recursion, hooray!)
  • Programs of Mass Destruction
  • Programming Meticulous coDe
  • A 'Chaotic Metal' rock band name
VonC
may i know full form of pmd
GK
@gurukulki: I ma not sure what you mean by "full form", but if it is "what does P.M.D. stands for", you can see it here: http://pmd.sourceforge.net/meaning.html
VonC
thanks.. ya it is "what does pmd stands for"
GK
Pretty Meaningless Description lol : in US they could probably patent the idea
Steve De Caux
A: 

Project Mess Detector PMD

Diana