Skip to content

Convert Method ​

Definition ​

  • Namespace: JASE.TestAnalysis
  • Assembly: JASE.TestAnalysis.dll

CoverageReport Convert(OpenCoverReport report) ​

csharp
CoverageReport Convert(OpenCoverReport report)

Converts a parsed OpenCoverReport into a normalized CoverageReport.

Parameters ​

NameDescription
reportThe OpenCover report to convert.

Returns ​

A new CoverageReport populated from the supplied OpenCover report.

Remarks ​

This method copies report identity information, raw totals, modules, classes, methods, sequence points, branch points, entry-point information, and complexity metrics into the normalized coverage model.

If OpenCover summary information is present at the report, module, class, or method level, those values are used directly for raw summaries. Otherwise, raw summaries are derived from accumulated totals.

A Brotli-compressed UTF-8 serialized copy of the original OpenCover report is stored in Metadata["sourceReport"].