lcov

Analyze LCOV coverage.info data to identify uncovered lines, branches, and functions.

Updated Jun 3, 2026
One-click install
npx skills add https://github.com/mgreenly/ikigai --skill lcov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lcov
Source: https://github.com/mgreenly/ikigai/tree/main/.claude/library/lcov
Command: npx skills add https://github.com/mgreenly/ikigai --skill lcov

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LCOV tooling helps you quickly identify gaps in test coverage by analyzing coverage data and reporting actionable insights, saving time and improving test quality.

Core Features & Use Cases

  • Find uncovered lines, branches, and functions in coverage reports from LCOV-style data.
  • Parse coverage.info to surface gaps and trends for code areas needing attention.
  • Manage exclusions via LCOV_EXCL markers to produce focused coverage views for audits and reviews.

Quick Start

Run make check-coverage to generate the coverage reports, then inspect reports/coverage/coverage.info to locate uncovered lines and branches.

Frequently Asked Questions about lcov

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

FAQPage Schema
How do I identify gaps in test coverage from LCOV data?

To identify test coverage gaps from LCOV data, parse the coverage.info file to surface uncovered lines, branches, and functions. This analysis relies on understanding DA, BRDA, and FNDA data records.

How do I exclude specific lines from a coverage report using LCOV markers?

You can exclude specific lines from a coverage report by applying LCOV_EXCL markers in your source code. This manages exclusions to produce focused coverage views for audits and reviews.

Can I use this to parse coverage.info for C projects?

Yes, this applies to C projects with coverage.info and LCOV marker syntax for exclusion. You can parse the coverage.info file to locate uncovered lines and branches after running tests.

What is the best way to generate LCOV reports for coverage analysis?

The best way to generate LCOV reports for coverage analysis is to run make check-coverage to create the reports. Then inspect reports/coverage/coverage.info to locate uncovered lines and branches.

What does the DA record mean when parsing LCOV files?

The DA record represents line coverage data when parsing LCOV files. Understanding DA, BRDA, and FNDA records is required to analyze coverage data and identify gaps in test coverage.