~/talk

Modified Condition and Decision Coverage in Gcc: Intro, Motivation & Tooling

Talkat ACCU 2023 · 2023-04-19..04-22· [testing, software-architecture]
links:none on file
slides:none on file

Modified condition/decision coverage (MCDC) is added as a GCC feature via a patch of ~1000 lines of code (about one third comments) that emits condition-level data into gcno/gcda files and augments gcov reports with per-condition indices and which conditions failed independent-effect checks. It implements masking MCDC (fewer tests than unique-cause, roughly O(sqrt(n)) vs n+1), detects short‑circuit masking, works with multiple front ends including the experimental Rust front end, and is pending review but buildable from source so users can test it now.

AI-written summary · about

  1. 0:00MCDC in GCC
  2. 2:13Code coverage purpose
  3. 4:44Line, branch, condition coverage
  4. 16:51Why MCDC matters
  5. 29:42GCC MCDC implementation
  6. 41:13MCDC in Rust and others
  7. 51:50GCC MCDC detection algorithm
  8. 1:19:00Masking detection algorithm
  9. 1:22:47Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.