| Author |
PMD for android
|
Eli Zuckerman
Greenhorn
Joined: Apr 19, 2010
Posts: 4
|
|
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!
|
 |
Monu Tripathi
Rancher
Joined: Oct 12, 2008
Posts: 1365
|
|
PMD?
|
[List of FAQs] | [Android FAQ] | [My Blog] | [Samuh Varta]
|
 |
Ananth Chellathurai
Ranch Hand
Joined: Nov 21, 2007
Posts: 349
|
|
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.
|
Ananth Chellathurai [Walk on software]
|
 |
Monu Tripathi
Rancher
Joined: Oct 12, 2008
Posts: 1365
|
|
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.
|
 |
Monu Tripathi
Rancher
Joined: Oct 12, 2008
Posts: 1365
|
|
|
Also, if you are interested in formatting your code per Android coding style, see this thread.
|
 |
 |
|
|
subject: PMD for android
|
|
|