EnglishFrenchSpanish

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
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 4
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 6
    Freeciv
    Freeciv
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • More »

Linux commands

Ad