FlexPMD

Ted Patrick has posted an interesting information about the open source project FlexPMD which is a tool to find out the worst parts of your code. The tool alerts and points out the bad coding practices that you have followed in your Flex project which I believe is a great thing,  given that while developement you tend to leave behind complex, redundant code and unused variables/piece of code which might give you the expected output but may be not considered as the best practice.
There is also a Flex application FlexPMD Rule set creator which enable to set custom rules for your application, that can be exported and used. The FlexPMD can be downloaded in three forms – CommandLine, Ant Task, Mac OSX Automater.
Once we start development on a  project,  in the initial stages most of us do rather take care to follow the best practices and try delete the unwanted code / unused code, but as soon as the code gets larger and more complex and as the project manager start talking only about delivery dates, it is always a time taking and horrendous process to sit and go through the code and remove all those rubbish stuffs that we have written. Now,I am going to download and try out this tool, if it works well then my code will look pretty in and out. What do you guys think ? 😉
For more info – http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD