{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"Gcovr processes GCC code coverage data and generates human-readable or machine-parseable coverage reports in multiple formats including HTML, JSON, CSV, XML (Cobertura, Clover, JaCoCo, LCOV, SonarQube), Markdown, and Coveralls.","skillfed_tags":["code-coverage","gcc-tooling","ci-cd"],"use_cases":["Generate coverage reports in CI/CD pipelines to track test quality across builds and commits.","Create HTML coverage dashboards showing which lines of C/C++ code are exercised by tests.","Export coverage data to Cobertura or SonarQube format for integration with quality gates.","Produce JSON or CSV summaries of coverage metrics for automated analysis or metrics collection.","Compare coverage across different test runs or branches using LCOV or Coveralls formats."],"what_it_does":"Gcovr is a command-line tool that wraps GCC's gcov utility to collect and report code coverage from C and C++ projects. It reads raw coverage data generated by instrumented executables and transforms it into human-readable summaries or structured reports in formats like HTML, JSON, CSV, and various XML dialects (Cobertura, Clover, JaCoCo, LCOV, SonarQube). The tool is inspired by Python's coverage.py and fills a similar role for compiled languages.\n\nYou use gcovr after compiling your code with GCC's --coverage flag and running your test suite. It can produce compact console summaries, detailed HTML pages with per-file annotations, or machine-readable reports for integration with CI systems and coverage dashboards. The package depends on colorlog for colored output, jinja2 for HTML templating, lxml for XML processing, pygments for syntax highlighting, and tomli for configuration parsing.","worth_installing":"Yes. Gcovr is a mature, actively maintained tool (production-stable, last commit 2026-08-12) with low install friction, no known vulnerabilities, and a permissive license. Install it if you need to measure or report code coverage for GCC-compiled C/C++ projects, especially in CI/CD contexts where structured output formats are required."},"id":"gcovr","links":{"html":"https://skillfed.io/packages/gcovr","md":"https://skillfed.io/packages/gcovr.md","pypi":"https://pypi.org/project/gcovr/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-13","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"gcovr","python_support":"supports_current","summary":"Generate C/C++ code coverage reports with gcov"},"popularity":{"monthly_downloads":4376275,"position":2316,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"8.6"}
