lcov documentation

lcov

Graphical front-end for GCC’s coverage testing tool gcov.

Overview

lcov is a strict Python implementation of the LCOV package.

LCOV is an extension of GCOV, a GNU tool which provides information about what parts of a program are actually executed (i.e. “covered”) while running a particular test case. The extension consists of a set of scripts which build on the textual GCOV output to implement the following enhanced functionality:

  • HTML based output: coverage rates are additionally indicated using bar graphs and specific colors.

  • Support for large projects: overview pages allow quick browsing of coverage data by providing three levels of detail: directory view, file view and source code view.

LCOV was initially designed to support Linux kernel coverage measurements, but works as well for coverage measurements on standard user space applications.

PyPI record.

Documentation.

Usage

TBD…

Installation

Prerequisites:

To install run:

python -m pip install --upgrade lcov

Development

Prerequisites:

  • Development is strictly based on tox. To install it run:

    python -m pip install --upgrade tox
    

Visit development page.

Installation from sources:

clone the sources:

and run:

python -m pip install ./lcov

or on development mode:

python -m pip install --editable ./lcov

License

Copyright (c) 2020-2022, Adam Karpierz
Licensed under the BSD license
Please refer to the accompanying LICENSE file.

Authors

Indices and tables