FlexPMD Available on Adobe Open Source
FlexPMD is a tool that helps to improve code quality by auditing any AS3/Flex source directory and detecting common bad practices, such as Unused code (functions, variables, constants, etc.), Over-complex code (nested loops, too many conditionals, etc.), Over-long code (classes, methods, etc.), and Incorrect use of the Flex component lifecycle (commitProperties, etc.).