Which PMD rulesets should I run to check android code? I see there's an android specific one, but what about the rest? Sorry if this is a silly question, but I'm pretty new to programming and very new to PMD. Thanks!
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.