powered by
Calculate the total percent coverage from a coverage result object.
percent_coverage(x, ...)
The total percentage as a numeric(1).
numeric(1)
the coverage object returned from package_coverage()
package_coverage()
additional arguments passed to tally_coverage(), such as by = "branch" for the percentage of branches taken (see covr.branch_coverage).
tally_coverage()
by = "branch"