Coverage Analisys with FATE

Use a compiler supporting gcov annotations, such as gcc or clang

Libav has a builtin support for gcov

Coverage reports with gcovr

gcovr is a python script leveraging gcov to provide human and machine readable reports, by default it provides a simple tabular output that is diff-friendly. The other outputs are xml and html.

Coverage reports with lcov

lcov is a set of perl programs leveraging gcov, the html output provided is similar to what gcovr provides but with more features.

Since version 10 the shortcuts make lcov and make lcov-reset are available.


CategoryHowTo