vulture

Find dead code
Download

vulture Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Jendrik Seipp
  • Publisher web site:

vulture Tags


vulture Description

vulture is a Python module that finds unused classes, functions and variables in your code. This helps you cleanup and find errors in your programs. If you run it on both your library and test suite you can find untested code.Due to Python's dynamic nature it is impossible to find all dead code for a static code analyzer like vulture, because it ignores scopes and scans only token names. Additionally some dynamic items that are not explicitly mentioned in the code may be incorrectly reported as dead code.InstallationYou can install, upgrade, uninstall vulture.py with these commands:sudo pip install vulturesudo pip install --upgrade vulturesudo pip uninstall vulturepip can be installed with sudo apt-get install python-pip.Usagevulture --helpSimilar programs- vulture can be used together with pyflakes- The coverage module can find unused code more reliably, but requires all branches of the code to actually be run.About the nameA vulture eats dead animals. A group of feeding vultures is called a wake. Simples.Product's homepage


vulture Related Software