Skip to main content

Article

DO-178C structural coverage and MC/DC, explained

What structural coverage analysis is for under DO-178C, which coverage each software level needs, and how modified condition/decision coverage works, with a worked example.Published 7 November 2026

In short

DO-178C is the guidance used to show that software in airborne systems is fit for certification. Structural coverage analysis checks how much of the code the requirements-based tests actually exercised. The most demanding measure, modified condition/decision coverage (MC/DC), is required for Level A software and shows that every condition in every decision independently affects its outcome.

What DO-178C is

DO-178C, Software Considerations in Airborne Systems and Equipment Certification, was published by RTCA in 2011 and is published in Europe by EUROCAE as ED-12C. It sets objectives for planning, development, verification, configuration management and quality assurance, rather than prescribing a particular method.

Each piece of software is given a level, from A to E, according to the most severe effect its failure could have on the aircraft: catastrophic for Level A, then hazardous, major and minor, down to no safety effect for Level E. The higher the level, the more objectives apply and the more of them must be met with independence.

What structural coverage analysis is for

Verification under DO-178C is driven by requirements: tests are written to show that the software does what its requirements say. Structural coverage analysis then asks a different question: which parts of the code did those tests exercise, and why were any parts missed?

Coverage is not a target in its own right. Writing tests simply to reach code defeats the purpose. Each gap is investigated and resolved according to its cause:

  • a missing requirements-based test, which is added
  • a missing or incomplete requirement, which is corrected and then tested
  • dead code, which serves no requirement and is removed
  • deactivated code, which is intended but not used in this configuration, and is shown to be unreachable or harmless

Which coverage each level needs

The coverage criteria build on each other as the level rises:

  • Statement coverage, for Levels A, B and C: every statement has been executed at least once
  • Decision coverage, for Levels A and B: every decision has taken both its true and false outcomes, and every entry and exit point has been invoked
  • MC/DC, for Level A only: decision coverage, plus every condition has taken every outcome and has been shown to affect its decision independently
  • Levels D and E have no structural coverage objective

How MC/DC works

A decision is a Boolean expression that controls the flow of the program, such as the test in an if statement. A condition is one of the Boolean terms inside it. MC/DC requires each condition to be shown to change the decision’s outcome on its own: there must be a pair of tests in which only that condition changes, and the outcome changes with it. This is the unique-cause form; a masking form, which allows other conditions to change where their effect is masked by the logic, is also accepted.

Take the decision A and (B or C), with three conditions. Four tests are enough:

  • Test 1: A true, B true, C false, so the decision is true
  • Test 2: A false, B true, C false, so the decision is false. Tests 1 and 2 differ only in A, and the outcome changes, so A has an independent effect
  • Test 3: A true, B false, C false, so the decision is false. Tests 1 and 3 show the effect of B
  • Test 4: A true, B false, C true, so the decision is true. Tests 3 and 4 show the effect of C

Why MC/DC needs so few tests

Testing every combination of conditions grows exponentially: a decision with three conditions has eight combinations, and one with ten has 1,024. For a decision with N conditions, MC/DC needs at least N + 1 tests and at most 2N, so it scales to real decisions while still showing that each condition matters. That is why it is used where a failure could be catastrophic.

Beyond MC/DC

Structural coverage analysis also covers data coupling and control coupling: showing that the tests exercised the way software components pass data to each other and call each other. For Level A, where coverage is measured on the source code, any object code the compiler generates that cannot be traced directly to the source must be verified as well.

Coverage is usually measured with a tool. When the tool’s output is relied on without being checked by hand, the tool itself needs qualification, under the separate guidance DO-330.

How we can help

Our roots are in high-integrity software for aviation and defence. If you need help planning verification, closing coverage gaps or preparing evidence, tell us about your programme.

Related services

Tell us about your project.

Tell us what you need. We reply within two working days with next steps.