pub fn coverage(declared: &[String], exercised: &[String]) -> CoverageReportExpand description
Compare the codes a package declares against the codes its fixtures
exercise (typically codes_in_spec_dir’s answer). Whether inherited
base codes count as declared is the caller’s choice: pass them in or
leave them out.
An uncovered code is a rejection nobody has pinned; an orphan is a fixture pinning a code the package does not declare, a misspelt code or one that has since been removed. Both lists empty is what “the fixtures and the declarations agree” means.