Refactoring a God Object Detector That Was Itself a God Object

The Irony # My code analysis tool debtmap has a god object detector. It scans Rust codebases looking for structs with too many methods, too many fields, and too many responsibilities. When it finds one, it generates recommendations for splitting the monolith into focused modules.