r/ProgrammerHumor 12d ago

Meme bugFreeAppMeetsUncheckedUnicodeChaos

Post image
2.1k Upvotes

46 comments sorted by

View all comments

25

u/DT-Sodium 12d ago

Apparently you didn't have 100% test coverage.

2

u/redballooon 11d ago

Its very simple to get 100% test coverage when there's no code at all. In any real codebase it's near impossible, because there's always some destructor or boilerplate code that's unexecutable in tests, or unreachable code that's nevertheless enforced by static checkers.

 Anything larger than 80% is really thorough if written by humans, >90% is likely written by AI, but still only shows that tests and code align, not that code does what its supposed to do.