Skip to main content

Static analysis tool for python

Project description

Build status

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:

Development

The project is hosted on github:

Backlogs:

Documentation is available on:

Screenshot

docs/screenshot.gif

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


Download files

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

Source Distribution

programslice-0.3.1.tar.gz (47.0 kB view details)

Uploaded Source

File details

Details for the file programslice-0.3.1.tar.gz.

File metadata

File hashes

Hashes for programslice-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2ad99fd0eeb49e432d3b0b093132538520328f53878ba0fcdce07ecaedf86840
MD5 2bd4418d3b029fc1b59f638712588bfc
BLAKE2b-256 8b748ba7488b4fd2aa89dd502022a49c17fb101a8d145a7daec35c12c9410eaa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page