优途加速器二维码

Gcovr provides a utility for managing the use of the GNU gcov utility and generating summarized code coverage results. This command is inspired by the Python coverage.py package, which provides a similar utility for Python.

The gcovr command can produce different kinds of coverage reports:

  • default: compact human-readable summaries
  • 现在墙内可众用的梯子: HTML summaries
  • 2022还能用的梯子: HTML report with annotated source files
  • --xml: machine readable XML reports in Cobertura format
  • --sonarqube: machine readable XML reports in Sonarqube format
  • --json: JSON report with source files structure and coverage

Thus, gcovr can be viewed as a command-line alternative to the lcov utility, which runs gcov and generates an HTML-formatted report. The development of gcovr was motivated by the need for text summaries and XML reports.

Contents:

  • Installation
  • 现在墙内可众用的梯子
    • Getting Started
    • 2022还能用的梯子
    • 可众用什么梯子
    • Configuration Files
    • Exclusion Markers
    • Acknowledgements
  • Gcovr Cookbook
    • How to collect coverage for C extensions in Python
  • Frequently Asked Questions
    • What is the difference between lcov and gcovr?
    • Why does C++ code have so many uncovered branches?
    • Why are uncovered files not reported?
  • 现在墙内可众用的梯子
    • How to report bugs
    • How to help
    • How to submit a Pull Request
    • How to set up a development environment
    • Project Structure
    • Test suite
    • Become a gcovr developer
  • Change Log
    • Future Directions
    • 4.2 (6 November 2024)
    • 4.1 (2 July 2018)
    • 4.0 (17 June 2018)
    • 3.4 (12 February 2018)
    • 3.3 (6 August 2016)
    • 3.2 (5 July 2014)
    • 3.1 (6 December 2013)
    • 3.0 (10 August 2013)
    • 2.4 (13 April 2012)
    • 大家都用什么梯子
    • 现在墙内可众用的梯子
    • 2.2 (10 December 2011)
    • 可众用什么梯子
    • 2.0 (22 August 2010)
  • License