GDMetrics: GDScript complexity analyzer (CC + cognitive), editor dock + CLI (Godot 3 & 4)

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

– Feedback and bug reports welcomed on GitHub Issues.

2 Likes