GitXplorerGitXplorer
d

zcov

public
51 stars
12 forks
0 issues

Commits

List of commits on branch master.
Unverified
9d5fdf6273c6fd96324ed840fbfcd36f937a9be1

Add a basic functionality test.

dddunbar committed 11 years ago
Unverified
82e685f0c5b5b3c3b46e9f7815841f42047b8f08

Change 'zcov' to be a multi-tool.

dddunbar committed 11 years ago
Unverified
e634a45278337a3bc8930a04cfc0bad8bc2d0ae6

Merge pull request #2 from yocchi/master

dddunbar committed 12 years ago
Unverified
29cf4014708c6e1434523a3df5d404d1453d999e

Fixed parse failure when LANG is not C.

yyocchi committed 12 years ago
Unverified
342dc19867b723e3fdc8da73f71db0da08d5f540

Tweak parsing logic to allow matching C++ names with spaces in them.

dddunbar committed 12 years ago
Unverified
bb5417d687fc40ad5827a6ac33208f325af40153

Merge pull request #1 from Tordek/master

dddunbar committed 12 years ago

README

The README file for this repository.

zcov - A code coverage reporting tool

zcov is wrapper around the basic facilities of gcov for generating pretty summaries for entire code bases. It is similar to lcov with an emphasis on nicer HTML output (including, for example, branch coverage), and a greatly simplified command line interface which tries to work around deficiencies in the metadata provided by gcov.

Overview

zcov uses '.zcov' files to store the information about a run, and provides several tools for working with these files. Use --help to see more information on the tools.

zcov scan

Recursively scan a directory structure looking for .gcda files and create a .zcov containing all the results. Usage: $ zcov scan output.zcov ~/public/coreutils-6.10.cov

zcov genhtml

Create an HTML report from a .zcov file. Usage: $ zcov genhtml output.zcov coverage-report/

zcov genhtml will make the output directory and write HTML files and an index.html for all the files in the .zcov. One useful option is '--root' which tells zcov to ignore any files outside the given root directory, and not to write that root directory in the output (for example, so your home directory path doesn't show up in the report).

zcov summarize

Print a short textual summary of a .zcov file, for testing and simple command line uses. Usage: $ zcov summarize output.zcov

zcov merge

Merge multiple .zcov files into one. Usage: $ zcov merge output.zcov input1.zcov input2.zcov ... inputN.zcov

License

zcov is available under the BSD license. See LICENSE.txt.

Dependencies

zcov has the following dependencies:

  • Python
  • PIL
  • enscript

Credits

zcov is written and maintained by Daniel Dunbar daniel@zuster.org

The JavaScript sorttable implementation as written by Stuart Langridge and is included under the X11 license.