Simplify Compliance Workflows With New C/C++test 2024.2 & AI-Driven Automation | Register Now

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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