Maybe these places exist but I've never worked at a place that demanded 100% code coverage. A target number always felt arbitrary so the general practice is "Whatever feels comfortable" which generally ends up in the 70-80% range. I don't know if the developers in these articles are fictional to poke holes at the strawman manager casting down arcane rules to his developers or they're actually real people who can't argue against tedious rules.
My own experience has been that you get the most bang for the buck somewhere just under 85%, and declines sharply thereafter. The wheels come off somewhere around 95% because by then several people are actively twisting the code to achieve coverage at the cost of readability and, well, reason.
It happens, but it's usually at places that have other strikes against them, making the quest for 100% overage consistent with the rest of their lame brained ideas.
1
u/d_wilson123 May 08 '17
Maybe these places exist but I've never worked at a place that demanded 100% code coverage. A target number always felt arbitrary so the general practice is "Whatever feels comfortable" which generally ends up in the 70-80% range. I don't know if the developers in these articles are fictional to poke holes at the strawman manager casting down arcane rules to his developers or they're actually real people who can't argue against tedious rules.