CoverageConvertOptions
Options shared by every coverage.from-* conversion.
interface in bldr
Options shared by every coverage.from-* conversion.
Properties
detail: boolean
property
Store per-line and per-function detail. Default true.
external: CoverageBucketRule[]
property
Paths from outside this workspace — registry crates, the toolchain.
See CoverageBucketRule.
generated: CoverageBucketRule[]
property
Paths that are build output, not source.
See CoverageBucketRule.
ignore: string[]
property
Paths dropped from the report entirely.
mappings: CoverageMapping[]
property
Where the tool's own paths map to in the workspace.
See CoverageMapping.
tool: string
property
What produced the data, for display. Defaults per format.
unmapped: "error" | "generated" | "external" | "ignore"
property
What to do with a path no rule matched. Defaults to "error", which is
almost always what you want: an unmapped path is a mapping bug, and
bucketing it silently yields a member percentage computed from fewer
files than the member has — a number that looks fine and is wrong.