OpenCover
OpenCover is an open-source code coverage tool for .NET applications. It works by attaching to a running .NET process using the CLR Profiling API to monitor executed code during test runs, thereby collecting coverage data. OpenCover can report coverage at the level of assemblies, classes, methods, and individual lines, and supports including or excluding code through filters based on assembly name, namespace, or attributes.
OpenCover outputs its findings in an XML format known as the OpenCover format. The standard workflow is
OpenCover is designed for Windows and primarily supports the .NET Framework; there are community efforts and