Static analysis tool for python
Project description
Static analysis tool for python programs to see depending lines of code.
Why Using Programslice
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
Installation
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 the g:programslice_cmd variable in your ~/.vimrc to point it to the executable.
Forms of Contribution
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
Development
The project is hosted on github:
Backlogs:
Documentation is available on:
Screenshot
License
GPLv3
CHANGES
0.3.1 (2016-12-01)
Bugfix release (see issue #25, Kudos to Adam Coddington)
0.3 (2015-02-18)
command: Added --version to see command line tool version.
New datastructures to improve slicing quality: Result can yield line numbers, objects, sliced source code
vim: Slicing result now highlights variables instead of just lines
vim: moved VimL code into separate repository: https://github.com/romanofski/programslice.vim
0.2 (2012-11-21)
added output formatter to either output filtered lines of code or just line numbers
Allow to slice between functions calls (fixes #5)
vim: Allow to toggle slicing markers
0.1 (2012-08-22)
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file programslice-0.3.1.tar.gz
.
File metadata
- Download URL: programslice-0.3.1.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ad99fd0eeb49e432d3b0b093132538520328f53878ba0fcdce07ecaedf86840 |
|
MD5 | 2bd4418d3b029fc1b59f638712588bfc |
|
BLAKE2b-256 | 8b748ba7488b4fd2aa89dd502022a49c17fb101a8d145a7daec35c12c9410eaa |