dart-coverage-audit

Parse lcov.info to compute Dart/Flutter coverage and report low-covered files.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/auravibes-apps/auravibes --skill dart-coverage-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dart-coverage-audit
Source: https://github.com/auravibes-apps/auravibes/tree/main/.agents/skills/dart-coverage-audit
Command: npx skills add https://github.com/auravibes-apps/auravibes --skill dart-coverage-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dart/Flutter projects often drift in test coverage, making it hard to know where to improve. This skill analyzes lcov.info to surface files with low coverage so teams can focus tests where they matter.

Core Features & Use Cases

  • Per-file coverage and overall coverage: parses lcov.info to compute hits and found counts and derive an overall percentage.
  • Low-coverage prioritization: identifies and sorts the bottom-covered files to guide targeted test additions.
  • CI-friendly gating: supports threshold checks and optional JSON reports to integrate with CI pipelines.
  • Real-world use case: when a Flutter app's CI complains about coverage, run this to reveal which modules need additional tests and generate a report for the team.

Quick Start

Run this tool after running your test suite to generate a per-file low-coverage report and optional JSON output for CI dashboards.

Frequently Asked Questions about dart-coverage-audit

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

FAQPage Schema
How do I identify low test coverage files in my Flutter project from an lcov.info report?

To identify low test coverage files from an lcov.info report, parse the file to compute per-file hits and found counts. This highlights and sorts the bottom-covered Dart files so teams can prioritize targeted test additions where they matter most.

Can I generate a JSON report of Dart test coverage for my CI dashboard?

Yes, you can generate a JSON report of Dart test coverage for CI dashboards. After parsing lcov.info and computing overall coverage, the tool supports optional JSON output formats to integrate coverage metrics into automated pipelines.

What is the best way to compute overall Flutter test coverage across an entire project?

The best way to compute overall Flutter test coverage is parsing lcov.info to aggregate hits and found counts across all files. This derives an overall project coverage percentage and optionally generates a JSON report for team visibility.

Does this Dart coverage tool support configurable input paths and coverage thresholds?

Yes, this Dart coverage tool supports configurable input paths and coverage thresholds. It accepts custom lcov.info file locations and threshold limits to enable flexible CI gating, returning fail codes when coverage drops below specified levels.