In https://reergymerej.github.io/blog/2022/04/08/tdd-even-harder.html I had an idea to automatically remove code that was not covered.

I’ve got something started. https://github.com/reergymerej/remove-uncovered

It sucks going into a codebase that has lots of uncovered stuff, but once it’s cleaned up, it seems OK. I’m using it at work now to do “real” code. Let’s see how it goes!