Skip to content
SPECIFICTION
Get listed

Microsoft Code Coverage vs ReportGenerator

Microsoft Code Coverage

github.com

ReportGenerator

reportgenerator.io

Side by side

FigureMicrosoft Code CoverageReportGenerator
Price fromFreeFree
Free planYesYes
Free trial—Yes
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Plans published15
Spec score · Test Coverage Tools7.5 (#18)7.8 (#10)
PurposeMeasures what proportion of a project's code is exercised by coded tests such as unit tests.ReportGenerator converts code coverage reports into human-readable reports in multiple formats and visualizes covered source lines.
SecurityThe repository links to a security policy, but its README describes this repository as documentation and samples for closed-source coverage functionality.The opened maker pages do not state security certifications or compliance claims.
SupportThe repository invites users to report issues related to the Microsoft.CodeCoverage and dotnet-coverage NuGet packages and Visual Studio code coverage functionality.The maker invites users with issues to get in touch, and Paddle handles customer service inquiries and returns for orders.

Plans

Microsoft Code Coverage

  • Microsoft Code CoverageFree

Microsoft Code Coverage pricing →

ReportGenerator

  • FreeFree
  • Free TrialFree
  • Individual$79, paid once
  • Team$249, paid once
  • Enterprise$599, paid once

ReportGenerator pricing →

In their own words

Microsoft Code Coverage

Microsoft Code Coverage measures how much of a project’s code is exercised by coded tests, such as unit tests. Its documented workflows cover.NET test projects with `dotnet test` and other.NET applications with the `dotnet-coverage` tool. It analyzes managed CLR and unmanaged native code using static or dynamic instrumentation; native coverage is disabled by default in the MTP extension. With Microsoft.Testing.Platform.MSBuild, extensions are auto-registered with MSTest, NUnit, and xUnit runners. The MTP extension can produce coverage, XML, and Cobertura reports, with settings for output, inclusion and exclusion rules, and instrumentation. It runs on Windows, macOS, and multiple Linux distributions, though instrumentation support varies by OS, version, and architecture. Other operating systems are supported on a best-effort basis, and some combinations allow static instrumentation only. Dynamic instrumentation on macOS and Linux requires libxml2, and missing dependencies may leave a report empty. MTP also excludes test assemblies by default unless configured otherwise. The plan is free.

Visit github.com

ReportGenerator

ReportGenerator is a command-line tool that turns code coverage reports into readable reports and visualizes covered source lines. It runs on Windows, Linux, and macOS, and accepts input from tools and formats including coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov, and lcov. Reports visualize line and branch coverage; method coverage is a PRO feature. A history chart tracks coverage over time, and the summary table can be filtered and sorted. Risk hotspot analysis can use cyclomatic complexity, NPath complexity, and CRAP score when those values are available, with configurable warning thresholds. Output choices include HTML, Clover, Cobertura, OpenCover, SonarQube, lcov, TeamCity summary, XML, Markdown, JSON, CSV, and text. The maker says GitHub Actions and Azure DevOps are supported. The project is open source under the Apache License, with basic features free and additional features requiring PRO. Lifetime licenses cost $79 as a one-time purchase for an individual, $249, paid once for up to 10 developers, or $599, paid once for unlimited developers.

Visit reportgenerator.io