vulture - Find dead code ======================== Vulture 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, static code analyzers like vulture are likely to miss some dead code. Also, code that is only called implicitly may be reported as unused. Nonetheless, vulture can be a very helpful tool for higher code quality. Download ======== http://pypi.python.org/pypi/vulture Features ======== * fast: uses static code analysis * lightweight: only one module * tested: tests itself and has 100% test coverage * complements *pyflakes* and has the same output syntax * supports Python 2.6, 2.7 and 3.x News ==== * Don't flag attributes as unused if they are used as global variables in another module (thanks Florian Bruhin). * Don't consider "True" and "False" variable names. * Abort with error message when invoked on .pyc files. Cheers, Jendrik