Featured Webinar: Unveiling Parasoft C/C++test CT for Continuous Testing & Compliance Excellence | Watch Now

What Is Code Coverage?

Code coverage is a metric in software testing that measures the extent to which the source code of a program is executed when a particular test suite is run. It’s expressed as a percentage, indicating how much of your code has been tested.

Related terms: branch coverage, MC/DC, statement coverage, test impact analysis, unit testing

Code Coverage: Examples in Context

A development team measures code coverage to identify untested code paths and increase the reliability of their software.

A software quality manager sets a code coverage target of 100% for all critical components in a safety-critical system.

FAQs