deadfunctionfinder 1.1
Utility to locate functions that are declared but never used in 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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.