GDClean — Dead Code & Project Cleaner for Godot 4
GDClean finds everything cluttering your Godot project. Unreferenced classes nobody uses, missing resources that will crash at runtime, duplicate code blocks across files, unused assets wasting disk space, and forgotten TODO markers buried in old scripts.
Single Python file. Zero dependencies. 100% local.
Unreferenced class_name detection
Missing preload/load resource detection
Duplicate code blocks via function body hashing
Unused asset detection with recoverable byte count
Commented-out code block detection
TODO/FIXME/HACK marker tracking
Text, JSON, and HTML output
Usage: python gdclean.py your_project/ -f html -o clean.html