This function extracts overall test coverage and file‑level coverage information from a covr coverage object. It provides a simplified summary for downstream reporting and scoring.
create_results_summary(cvr)A data frame containing summary statistics, including:
Numeric. Overall percentage of lines covered.
Character. File or package name associated with the coverage result.
List or data structure summarizing file‑level or element‑level coverage from the covr object.
Character vector containing any coverage‑related errors (if present).
Additional diagnostic notes returned by coverage processing.
The summary object is used by downstream reporting functions to generate test coverage summaries and scoring metrics.
A covr coverage object, typically produced by `covr::environment_coverage()` or by higher‑level wrapper functions in this package (e.g., skip‑aware coverage for STF or NSTF workflows).