Calculate the total percent coverage from a coverage result object.
Arguments
- x
the coverage object returned from
package_coverage()- ...
additional arguments passed to
tally_coverage(), such asby = "branch"for the percentage of branches taken (see covr.branch_coverage).
