Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/ltp/htdocs/archive/old_pages/coverage/lcov.php on line 8
07:16 AM PST

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/ltp/htdocs/archive/old_pages/coverage/lcov.php on line 9
February 21, 2018

Warning: include(../header.html): failed to open stream: No such file or directory in /home/project-web/ltp/htdocs/archive/old_pages/coverage/lcov.php on line 10

Warning: include(): Failed opening '../header.html' for inclusion (include_path='.:/usr/local/lib/php') in /home/project-web/ltp/htdocs/archive/old_pages/coverage/lcov.php on line 10

Warning: include(../LTP_Menu.html): failed to open stream: No such file or directory in /home/project-web/ltp/htdocs/archive/old_pages/coverage/lcov.php on line 14

Warning: include(): Failed opening '../LTP_Menu.html' for inclusion (include_path='.:/usr/local/lib/php') in /home/project-web/ltp/htdocs/archive/old_pages/coverage/lcov.php on line 14

The LTP GCOV extension (lcov)

About LCOV

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 PERL 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 (requires the gcov-kernel package, see "Downloads and links" section), but works as well for coverage measurements on standard user space applications.

Authors

LCOV was jointly created by a group of developers from the IBM Linux Technology Center in Austin, Texas and the IBM Development Lab in Boeblingen, Germany.

Contributors in alphabetical order:

Documentation

Downloads and links

  • GCOV kernel patches and the LCOV analysis tools can be downloaded here
  • Coverage output as generated by LCOV for the LTP test suite.
  • LCOV files in the CVS directory (containing the most current version)
  • Comprehensive Perl Archive Network (CPAN) web site, a source for obtaining the GD.pm graphics library which is needed for the --frames option of genhtml.pl.

Comments And Questions