GodotGuard — GDScript Static Analysis for Godot 4
GodotGuard scans your GDScript files and catches what the Godot editor misses. Unused variables, high-complexity functions, unchecked node references, orphan signals, magic numbers, Godot 3 legacy patterns, and more. 15 check categories with severity filtering. Outputs text, JSON, or beautiful HTML reports with complexity bar charts.
Single Python file. Zero dependencies. Runs 100% locally — your code never leaves your machine.
15 analysis categories (unused vars, complexity, node safety, signals, Godot 3 detection)
Complexity report with visual bars per function
Strict mode for type hint enforcement
CI/CD friendly exit codes
Text, JSON, and HTML output
Usage: python godotguard.py your_project/ -f html -o report.html
Works with any Godot 4.x project. Python 3.8+ required. No pip install needed.