Excerpt from commit log :
Do not generate coverage data for the test C code
When compiling tests remove the CODE_COVERAGE_CFLAGS flags from CFLAGS
and also add
CFLAGS = $(filter-out $(CODE_COVERAGE_CFLAGS), @CFLAGS@)
to 'skeleton/Makefile.am' to avoid compilation error in vlm's repository.
To generate the code coverage report you need gcov and lcov installed
and then execute
./configure --enable-code-coverage
make check-code-coverage
Writing directory view page.
Overall coverage rate:
lines......: 76.5% (10519 of 13759 lines)
functions..: 85.5% (491 of 574 functions)
branches...: 57.5% (7040 of 12250 branches)
file:///home/user/asn1c/asn1c-0.9.28-coverage/index.html
Open the index.html with a web browser