NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #56 most downloaded on NuGet
Coverlet is a cross platform code coverage library for .NET, with support for line, branch and method coverage.
Latest stable
10.1.1
Last release 6 days ago
15 Nov 2026
Release timing varies
gaps range from 3 weeks to 13 months
Nearly every release is documented
notes for 24 of 25 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
25 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Add IsReachable to branch points, computed from the method's control-flow graph, and exclude unreachable branches from branch-coverage totals and from
IsReachable to branch points, computed from the method's control-flow graph, and exclude unreachable branches from branch-coverage totals and from branch details in Cobertura, LCOV and OpenCover reports #2056 by @pcshrosbreeYour coding agent can read these notes before it upgrades. Set up the MCP server →
Publish Microsoft.Testing.Platform coverage messages from coverlet.MTP #2019
Coverlet with MTP 2 doesn't show test coverage statistic in console #1907
Unique Report Filenames (coverlet.MTP and AzDO) #1866
--coverlet-file-prefix option for unique report files #1869Fix [BUG] TypeInitializationException when targeting .NET Framework #1818
Upgraded minimum required .NET SDK and runtime to .NET 8.0 LTS (Long Term Support) ( Breaking Change )
Special Thanks: A huge thank you to @Bertk for driving the majority of the work in this release! 🎉
Fix empty coverage report when using include and exclude filters #1726
Fix RuntimeConfigurationReader to support self-contained builds #1705 by https://github.com/pfeigl
Threshold-stat triggers error #1634
Uncovered lines in .NET 8 for inheriting records #1555
Breaking changes New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion #1164 . The parameter InstrumentModulesWithoutL…
Fixed
-Could not write lines to file CoverletSourceRootsMapping - in use by another process #1155
-Incorrect coverage for methods returning IAsyncEnumerable in generic classes #1383
-Wrong branch coverage for async methods .NET Standard 1.x #1376
-Empty path exception in visual basic projects #775
-Align published nuget package version to github release version #1413
-Sync nuget and github release versions #1122
Improvements
-Migration of the project to .NET 6.0 #1473
Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion #1164. The parameter InstrumentModulesWithoutLocalSources has been removed. since it can be handled by setting ExcludeAssembliesWithoutSources to None.
The default heuristics for determining whether to instrument an assembly has been changed. In previous versions any missing source file was taken as a signal that it was a third-party project that shouldn't be instrumented, with exceptions for some common file name patterns for source generators. Now only assemblies where no source files at all can be found are excluded from instrumentation, and the code for detecting source generator files have been removed. To get back to the behaviour that at least one missing file is sufficient to exclude an assembly, set ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion filters for more fine-grained control.
* #172 adds performance enhancements during instrumentation * #181 removes instrumented assemblies' dependency on the coverlet.tracker assembly * #186
coverlet.tracker assemblyFix CoreLib's coverage measurement is broken #1286
Fix wrong branch coverage with EnumeratorCancellation attribute #1275
CopyCoverletDataCollectorFiles to avoid to override user dlls for dotnet publish scenario #1243141 adds performance improvements to coverage tracker for multi-threaded scenarios
unknown source #1145await foreach statement #1107 by https://github.com/alexthornton1System.MissingMethodException(TryGetIntArgFromDict) #1101Fix code coverage stops working if assembly contains source generators generated file #1091
Fix multi-line lambda coverage regression #1060
Fix severe loss in coverage #1043 by
807f7b1bd5bea8158ffff343d5511cd16e0da9a0 uses a separate coverlet.tracker assembly to hold tracking code
coverlet.tracker assembly to hold tracking code.exe extensionCoverletReport MSBuild variable containing coverage filenames #932 by https://github.com/0xcedFix for code complexity not being generated for methods for cobertura reporter #738 by
MoveNext() for singleton iterators #813 by https://github.com/bert2Fix ExcludeFromCodeCoverage attribute bugs #129 and #670 with #671 by
https://github.com/tonerdo/coverlet/commit/b42cca2c27e042612e57be00c359240bd6ce84d8 fixes #54. Returns the full path of source base path is empty
https://github.com/tonerdo/coverlet/commit/4126086c9ac12a90c14f9d250baefb4811f74d84 introduces a Threshold option to specify a "fail build if under" v
IOException in #25. Uses exponential back-off algorithm to retry file accessThreshold option to specify a "fail build if under" valuedouble for all calculations<!-- markdownlint-configure-file { "MD022": false, "MD024": false, "MD030": false, "MD032": false} -->
https://github.com/tonerdo/coverlet/commit/c055f95f300179dd862893205cb88af53493732b makes MarkExecuted method thread safe
MarkExecuted method thread safeNothing published for this version
One column per quarter.