Static Actionscript code analysis possibilities

Robin Rodricks picture Robin Rodricks · Feb 14, 2009 · Viewed 7.6k times · Source

I want to see class, function and variable/property, dependencies visually, like NDepend, but for ActionScript 2 or AS3 code.

Any programs or ideas?

Use doxygen in some way?

FlexUnit?

Answer

Kevin Boyd picture Kevin Boyd · Mar 19, 2010

Update Nov 2018:

It would appear that Structure101 (new download page) no longer has an ActionScript variant.

Original answer, links outdated:

Download Structure101g and select the Actionscript flavor after installing the software.

I've confirmed that it is able to map out class level and even function call dependencies in Flex/AS3 projects, and generate a visual map of the same.

Take a look at the attached screenshot.

(non-SSL link dead: i40.tinypic.com/e8qptu.png)

Hope that helps.