This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Show Callgraph from cscope database

Project Description

.. sectnum::
.. contents:: Table Of Contents

********
calltree
********

Show Callgraph of a given function

=======
Purpose
=======
The understanding of the codeflow in a larger source of codebase, requires to list the caller and callee relationships for a given function. For linux and unix developers, cscope has been the primary utitlity to search and browse through the code.

This utility uses the generated cscope database to list and display the
callgraph, which is stored in a image format.

=====
Usage
=====

Command Line
------------

Usage: python -m calltree [options] functionname

Options:
--version show program's version number and exit
-h, --help show this help message and exit
--everything Recursively show all callers and callees
-a, --showall Show all callers and callees
-c, --callers Recursively show all callers
-e, --callees Recursively show all callees
-l LEVEL, --level=LEVEL
Show Level of callers/callees
-f OUTPUTFORMAT, --format=OUTPUTFORMAT
output format jpg/png
-o OUTPUTDIR, --outputdir=OUTPUTDIR
Storage directory for output files
-d SOURCEDB, --db=SOURCEDB
cscope database (cscope.out)

.. code-block::
import calltree
f = calltree.calltree.calltree()
f.showtree()
f.showgraph()

Release History

Release History

This version
History Node

0.26

History Node

0.25

History Node

0.24

History Node

0.23

History Node

0.22

History Node

0.21

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
calltree-0.26.linux-x86_64.exe (66.7 kB) Copy SHA256 Checksum SHA256 any Windows Installer Nov 16, 2015
calltree-0.26.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Nov 16, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting