EnglishFrenchSpanish

Ad


OnWorks favicon

git-history-coverage - Online in the Cloud

Run git-history-coverage in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command git-history-coverage that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


git-history-coverage - summarise test coverage for recent git commits

SYNOPSIS


git-history-coverage [options] rev-list

DESCRIPTION


Git-history-coverage extracts test coverage data produced by C and C++ programs compiled
with gcc --coverage, and correlates it to git commits, printing a coverage summary which
shows how well tested recent code changes have been. This is useful for nightly builds
and Continuous Integration systems such as Jenkins.

For the output of git-history-coverage to make any sense, the coverage data must be
generated by running code which corresponds to the last commit in the range specified by
rev-list.

When used without any options, git-history-coverage prints three summaries.

overall
A summary of all the commits specified by rev-list.

by author
A summary split up by each author represented in the set of commits specified by
rev-list.

by commit
A summary for each individual commit in the set of commits specified by rev-list.

For each of these summaries, git-history-coverage prints statistics showing how many lines
of code were in the commits, how many lines represent executable code (as opposed to
comments, test code, or infrastructure like Makefiles), and how many lines were actually
executed in tests.

OPTIONS


--summary-overall
Print the overall summary (with no options, all three summaries are printed).

--summary-by-author
Print the by author summary (with no options, all three summaries are printed).

--summary-by-commit
Print the by commit summary (with no options, all three summaries are printed).

--gcda-prefix=dir
Look for .gcda files underneath the directory dir. This option is used to read
runtime coverage information written when a test program is run using the same
--gcda-prefix option to ggcov-run.

Use git-history-coverage online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 2
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 3
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 4
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 5
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 6
    SCons
    SCons
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • More »

Linux commands

Ad