This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.