Skip to main content

Module coverage

Module coverage 

Source
Expand description

Traceability coverage report (decided.services.coverage) — typed completeness gaps derived from the resolved relationship graph. Advisory, never a build failure: decided coverage always exits 0 on a real directory. Three gap classes, one type and one expected edge direction each:

  • unscheduled — a requirement with no resolved INCOMING edge from a roadmap,
  • unapplied — a decision with no resolved incoming edge from a requirement or roadmap,
  • unscoped — a roadmap with no resolved OUTGOING edge to a requirement.

Self-edges (resolved_path == source_path) are skipped; external and unresolved references contribute nothing (resolved_path is None). Order is deterministic: gap class (unscheduled, unapplied, unscoped), then ascending path.

Structs§

CoverageGap
One typed traceability gap (CoverageGap).
CoverageReport
The coverage report for a directory (CoverageReport).

Constants§

GAP_UNAPPLIED
GAP_UNSCHEDULED
GAP_UNSCOPED

Functions§

analyze_coverage
analyze_coverage(directory) — always recursive, no writes, no git.