Know what to fix before you hate the project.
GDMetrics is an editor plugin + CLI that measures GDScript cyclomatic complexity (CC) and cognitive complexity (C-COG), then ranks what to open next instead of dumping raw numbers.
What you get
- Dock: Top fixes, OK / Hard to read / Fix soon, jump-to-function
- Score explanation,
# gdmetrics:ignore/pin - Big scary files (+ optional git “Hot” churn)
- HTML / CSV / JSON reports
- CI gates (thresholds + regression vs history)
MIT. Separate repos for Godot 4 and Godot 3 (same idea, engine-specific UI).
Links
-
Godot 4: GitHub - JaponBaligi/gdmetrics-g4: GDScript Complexity Analyzer for Godot 4.x · GitHub
-
Godot 3: GitHub - JaponBaligi/gdmetrics-g3: GDScript Complexity Analyzer for Godot 3.x · GitHub
-
Releases:
– Releases · JaponBaligi/gdmetrics-g4 · GitHub
– Releases · JaponBaligi/gdmetrics-g3 · GitHub -
itch.io:
– gdmetrics for Godot 3 by JaponBaligi
– gdmetrics for Godot 4 by JaponBaligi -
Asset Library:
– GDScript Complexity Analyzer (gdmetrics3) - Godot Asset Library
– GDScript Complexity Analyzer (gdmetrics4) - Godot Asset Library
– Feedback and bug reports welcomed on GitHub Issues.