Posts Tagged ‘PMD’

New PMD rules for Android

Posted: April 27, 2010 in Android
Tags: ,

What is nice about this Designing for Performance post is that there is enough material there to compose a new set of PMD rules to add onto the PMD android ruleset that already comes prepackaged with PMD. Note, if you are looking for an android developer this is the type of behind the scenes stuff [...]

Why do we use PMD rules?

Posted: April 22, 2010 in Uncategorized
Tags: ,

You may wonder why we use PMD rulesets. Remember that to have one code base targeting Android 1.5, 1.6, and 2.x you have to use a minSDK of 3 and targetSDK of 4 in the manifest? So how od you get your IDE to warn you when using certain 1.6 calls when you should be [...]

PMD Rules for Android

Posted: April 19, 2010 in Android
Tags: ,

I posted part of the PMD rules I use for Android as a knol.

Android PMD 5

Posted: February 12, 2010 in Android
Tags: ,

PMD 5 comes with some new additions to the Android Rules and a nice new features in that you can define a rulest and stick outside the pmd.jar unlike PMD 4. Thus for an ANT target you have:

Image by Chris Gin via Flickr For those who have been asking upon reading about my Android Build Tool AndCooper progress, yes I will be making a separate download available that contains specialized Checkstyle and PMD files set up for Android development. I should have those files up over the weekend. Once the links for [...]