The python3 ast based control flow graph
This package generates a control flow graph of the passed python file based on the AST generated (rather than the bytecode). It supports only a few python statements at this point. Notably absent are exceptions and generators. Essentially, only those constructs found in example.py are supported.
It was tested on Python 3.6
python pycfg/pycfg.py <program to be analyzed> -d
python pycfg/pycfg.py <program to be analyzed> -d -y <branch coverage file>
Inspect Makefile for a better idea
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pycfg-0.1.tar.gz (6.6 kB)||File type Source||Python version None||Upload date||Hashes View|