A bash/zsh function to visualise coverage data for projects built with GNU libtool.
gcov-blame src/source-file.c
This will generate the appropriate .gcov
file and display it in the terminal. The coverage data should be generated by whatever means first (e.g. make check
).