Can anyone recommend a static analysis/code complexity/code metrics tool for Adobe Flex (MXML and Actionscript)? Something like Sonar or Clover?
A:
Maybe FlexPMD can be an answer.
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.)
- Inefficient code (misuse of dynamic filters, heavy constructors, etc.)
- Over-complex code (nested loops, too many conditionals, etc.)
- Over-long code (classes, methods, etc.)
- Incorrect use of the Flex component lifecycle (commitProperties, etc.)
Patrick
2010-09-15 10:39:49
Thanks thats what I ended up coming up with too.
2010-09-16 11:35:48