TrumanWong

gcov

Tools for testing program code coverage

Supplementary instructions

gcov command is a tool for testing the code coverage of a program.

grammar

gcov(options)(parameters)

Options

-h: Display help information;
-v: Display version information;
-a: Output execution counts of all basic blocks;
-n: and create an output file.

Parameters

V language file: C language source code file.