Flowcharts not telling you what you want to know about some C source code? Try a State Dependency map!
Every C source file is an implemention of a state machine. Implicit in the definition of a state machine is a network of dependencies between the states.
* deconstructs the C code into the core state machine
* collates the transactions into the dependency net
* generates a diagram-format file with the states and dependencies as the nodes and edges.
* Perl - tested with versions 5.12.3, 5.14.2 and 5.20.2, Windows, Linux and MAC
* Get the Automalator by downloading the zip, or checking out or exporting the SVN trunk
* copy the source code of interest into "project.c"
* windows - double-click "src2map.bat"
* linux & MAC - navigate the command line to the "project" folder, then run "src2map.sh"
* open "project.gml" file with diagramming software.
- visualize C code with diagramming software such as Gephi, YEd, or Tulip.
- analyze C code programmatically with a database manager such as MS Access
- expedite code comprehension
- tighten or refactor an implentation
- find all the supporting states for a feature
- simplify the implementation while maintaining boundary behaviour.
- sample deconstructions of a file from GCC, Linux wireless and Subversion
- reduce bloat
Be the first to post a review of Automalator!