dotnet-coverage-python-inspector

Parse dotnet-coverage XML reports to identify uncovered lines and function owners.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/AdaskoTheBeAsT/AdaskoTheBeAsT.Interop --skill dotnet-coverage-python-inspector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-coverage-python-inspector
Source: https://github.com/AdaskoTheBeAsT/AdaskoTheBeAsT.Interop/tree/main/.factory/skills/dotnet-coverage-python-inspector
Command: npx skills add https://github.com/AdaskoTheBeAsT/AdaskoTheBeAsT.Interop --skill dotnet-coverage-python-inspector

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Python-based tool reads dotnet-coverage XML reports to extract exact line-level coverage information, making it easy to answer questions about which files, functions, and lines are covered or not.

Core Features & Use Cases

  • Read dotnet-coverage XML reports and compute per-file, per-line coverage status (yes, partial, no).
  • Identify function owners for uncovered lines to assist debugging and improvement.
  • Compare two reports to detect improvements or regressions in coverage.

Quick Start

Run the Python-based loader on a coverage.xml file to retrieve per-line coverage status and uncovered regions.

Frequently Asked Questions about dotnet-coverage-python-inspector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find uncovered lines in dotnet-coverage XML reports using Python?

You can find uncovered lines in dotnet-coverage XML reports by parsing the XML via Python's xml.etree.ElementTree to build per-module source maps and aggregate line coverage states with precedence rules.

Can I compare two dotnet-coverage XML reports to detect coverage regressions?

Yes, you can compare two dotnet-coverage XML reports to detect coverage improvements or regressions by computing per-file, per-line coverage status and identifying newly uncovered lines and responsible functions.

What is the best way to identify function owners for missing dotnet-coverage?

Identifying function owners for missing dotnet-coverage involves parsing XML reports to preserve function owners specifically for non-fully-covered lines, assisting debugging and improvement of the tested code.

How does line-level coverage aggregation handle partial states in dotnet-coverage?

Line-level coverage aggregation handles partial states by applying a precedence rule of no < partial < yes across per-module source maps, ensuring exact line-level coverage details are accurately computed.

Does the dotnet-coverage Python inspector require external dependencies to parse XML?

No, the dotnet-coverage Python inspector requires no external dependencies to parse XML, relying solely on the built-in xml.etree.ElementTree module to extract line-level coverage information.