Need Call Tree Analyzer For Python
Oren Tirosh
oren-py-l at hishome.net
Wed Dec 25 03:28:08 EST 2002
On Tue, Dec 24, 2002 at 10:30:07PM +0000, Tim Daneliuk wrote:
> Is anyone aware of a utility which can read a stand-alone Python program
> and generate a visual representation of the call tree? (That is, a
> picture of which methods and functions are called and by whom.) Better still
> would be one that optionally generates a variety of output formats -
> nroff, txt, pdf, ps, html, ...
PyChecker should contain most of the required code analysis front end.
I imagine that extracting the actual call graph would require
modification/addition of well below 100 lines of code.
Rob Renaud's suggestion of using graphviz to draw the actual graph sounds
great.
Oren
More information about the Python-list
mailing list