Mechanized
Published in

Mechanized

What is meant by Structural (Code) Coverage?

Photo by Max Duzij on Unsplash

Put simply structural, or code, coverage is the amount of code that is covered in execution by a single test or collection of tests.

For a procedural language like C, you can identify a function of interest, run some test cases on this function, and then measure what proportion (expressed as a percentage) of the code has been executed. The general rule is that the higher the coverage…

--

--

--

The world is becoming increasingly automated with development influenced by science fiction. This publication covers both the science and the fiction of the stories that matter.

Recommended from Medium

Is LMS Software Still Relevant?

Using Elixir modules to organize logic when you don’t have classes

What’s the difference between C# and C++?

My Experience at Microsoft office Lagos

Using Agile in Fixed Price Projects

Load EC public key / private key from String

Clemson Palmetto: Julia-Optimization Beginner’s Guide

Day 7 of 31-Day May LeetCode Challenge

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Mackay

Adam Mackay

Technology Writer

More from Medium

How to Create an Azure Function App

Partitioning in Azure CosmosDB

Git Guide for Easier Collaboration

The YAML Onboarding Wizard: an easy way to onboard your REST API service to the Zowe API Mediation…