Utility to find dead functions within a codebase.
Project description
Utility to find dead functions within a codebase.
Languages supported
Python
PHP
Installation
Using PIP
pip3 install dead_function_finder
From sources
git clone https://github.com/gabfl/dead_function_finder.git && cd dead_function_finder
pip3 install .
Usage
dead_function_finder --path "~/my/codebase" --language python
# Specific patterns can be excluded with --exclude:
dead_function_finder --path "~/my/codebase" --language python --exclude '/venv/,/unittest/'
Limitations
The program searches for unique function names; it is not currently aware of class context.
Functions called with magic methods or whose names are dynamically resolved might result in false positives.
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
Built Distribution
Close
Hashes for dead_function_finder-1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b21ccf7af926176aa93df6dee13c0f5ed202ecabf7a6aa9c04528274693884b9 |
|
MD5 | f12793010beadf1a792c92e95b6393d2 |
|
BLAKE2b-256 | 23bceb442d4921b9cee4c626f7db4b21b1ee0de63c05b094ec3f95aa90dbb56c |