FlexPMD uses a part of [ PMD][1], its Java well known counterpart.
FlexPMD is a tool that helps to improve code quality by auditing any AS3/Flex source directory and detecting common bad practices, such as:
A report is produced describing the violations of a given rule set. FlexPMD includes a rule set that is broad ranging and continually growing. It is also straightforward to create new rules and users are encouraged to do so.
To know more visit following links:
Overview
About
(above link captures known issues, how to get involved and where to download the code)