Friday, December 4, 2009

Flex PMD

Well I came across FlexPMD a couple of weeks ago and have found it a useful tool to get some useful tips and highlight things I may have glossed over. An amusing one is the info rule about the copyright header is missing. I will have to make sure I add one in for my world domination of example code. Though that said you can add your own rules in or modify the existing set to create your own custom set of rules. So if you really want to be strict about every line ending with a semi-colon you can write your own class to enforce this rule.

All of this being said I think this is a great tool for Flex/Actionscript developers to review there code. There will always be exceptions to the rules but at least you know you're breaking best practice.

No comments: