pub fn evaluate_many(
lcov_texts: &[&str],
manifest_path: Option<&Path>,
gated_packages: &[String],
) -> Result<EvaluatedReport, CoverageGateError>Expand description
Evaluate one or more cargo-llvm-cov lcov tracefiles against the
workspace anchored at manifest_path and return the resolved
EvaluatedReport.
The tracefiles are merged at the line level before evaluation (per-line
counts summed, line sets combined), so passing the --all-features and
--no-default-features exports yields the same per-package line
coverage as a single merged report — without a platform-specific lcov
merger. An empty slice is treated as an empty report. Packages with
positive thresholds then report NO DATA, which rolls the overall result
up to Verdict::ConfigError (process exit code 2). Packages with zero
thresholds pass, while expect-no-coverable-lines packages report EMPTY
and pass.
gated_packages restricts the operation to a named subset; when
empty, every workspace member is in scope.
§Errors
Returns a CoverageGateError under the same conditions as
evaluate; additionally, any tracefile that fails to parse aborts
the merge.