Ananth Chellathurai wrote:Monu,
PMD Scans source code and looks for potential problems possible bugs, unused and suboptimal code, over-complicated expressions and duplicate code.
Let us wait for some one who has used PMD for aandroid applications.
Ah! The official site does not provide any rulesets directly; they advertise best practises instead so configuring PMD rules is left to the developer. Fred Grott has been involved with Android for as long as I can remember. He has a knol for this here.
Hope that helps.