Microsoft Code Coverage vs ReportGenerator
Microsoft Code Coverage
github.comReportGenerator
reportgenerator.ioSide by side
| Figure | Microsoft Code Coverage | ReportGenerator |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | Yes |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 1 | 5 |
| Spec score · Test Coverage Tools | 7.5 (#18) | 7.8 (#10) |
| Purpose | Measures 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. |
| Security | The 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. |
| Support | The 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
ReportGenerator
- FreeFree
- Free TrialFree
- Individual$79, paid once
- Team$249, paid once
- Enterprise$599, paid once
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.
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.