Each source file gets a record with its functions (FN, FNDA, FNF,
FNH) and lines (DA, LF, LH). Line counts are those of
tally_coverage() with by = "line", combined so that each source line
has a single DA record: when several functions share a line, the line's
count is the smallest of theirs, so a line only counts as covered if all its
code was run, as in report(), percent_coverage() and codecov(). A
function's count is the largest count of any of its expressions.
Branches are only recorded if they were measured with
options(covr.branch_coverage = TRUE) (see covr.branch_coverage). Each
branch gets a BRDA record on the line where its if or switch()
starts, numbered from zero within each if or switch(). Its count is -
if the if or switch() never ran. BRF and BRH give the number of
branches and the number of branches taken.
Source file paths (SF) are written as covr reports them, for a package
relative to the package root, so tools such as genhtml should be run from
that directory.