Popular Tags

Who's online

There are currently 0 users and 67 guests online.

User login

A description of how to use gcov to profile unit test code coverage using OCUnit. This is an advanced topic for large projects which benefit from unit testing.

The output files from gcov can be difficult to analyze effectively. Several tools can help improve analysis of coverage data:

  • CoverStory is an open source OS X GUI app which takes gcov coverage files and displays the source code in a regular window, highlighting the code according to coverage.
  • lcov is a set of Perl scripts that creates output providing 3 levels of detail: directory view, file view, and source code view. This document describes general usage, and it should be possible to adapt to OS X.
  • ggcov is a GTK+ program that helps put coverage information in a more graphical form, with several different views.
Your rating: None Average: 4 (1 vote)



The site has recently been updated. You may notice some of the following issues:

  • Some URLs no longer work. Please use the search box.
  • File uploads should now be working. If you experience problems, please contact us.