Why Code Coverage Is Not a Good Metric

Fusio Wu
1 min readAug 14, 2022

Many companies have used code coverage as a prerequisite for code submission. Nevertheless, this may not necessarily be a good metric. This is a brief reflection on what I learned after reading Software Engineering at Google: Lessons Learned from Programming Over Time Chapter 11: Testing Overview.

Many companies have used code coverage as a prerequisite for code submission; for instance, they…

--

--

Fusio Wu

Software Engineer, Stanford/UC Santa Barbara Alumni