Static analysis tool for python programs to see depending lines of code.
Note
The Python program programslice
in itself is rather
useless for the end user. Use it with the Vim editor plugin. See Installation
for more information.
The main benefits of the program are:
- the possibility to aid tracing the control flow of the program
- find variables that are unnecessary to the program state
Requirements: Python 2.7
Install programslice first in your favourite virtualenv:
$ pip install https://github.com/romanofski/programslice/archive/master.zip
Install the Vim plugin by following the instructions on it's github page.
Once the plugin is installed, either make sure that the
programslice
command is in your$PATH
variable or you adjust theg:programslice_cmd
variable in your~/.vimrc
to point it to the executable.
If you find this program useful, here is a list of how you can contribute:
- buy me a book off my wish list
- file issues against programslice or the vim plugin
- help to improve the code
The project is hosted on github:
Backlogs:
- https://github.com/romanofski/programslice/issues
- https://github.com/romanofski/programslice.vim/issues
Documentation is available on:
Screenshot
GPLv3