Usage: gcov [OPTION...] SOURCE|OBJ... Print code coverage information. -a, --all-blocks Show information for every basic block -b, --branch-probabilities Include branch probabilities in output -c, --branch-counts Output counts of branches taken rather than percentages -g, --conditions Include modified condition/decision coverage in output -d, --display-progress Display progress information -D, --debug Display debugging dumps -f, --function-summaries Output summaries for each function -h, --help Print this help, then exit -j, --json-format Output JSON intermediate format into .gcov.json.gz file -H, --human-readable Output human readable numbers -k, --use-colors Emit colored output -l, --long-file-names Use long output file names for included source files -m, --demangled-names Output demangled function names -n, --no-output Do not create an output file -o, --object-directory DIR|FILE Search for object files in DIR or called FILE -p, --preserve-paths Preserve all pathname components -q, --use-hotness-colors Emit perf-like colored output for hot lines -r, --relative-only Only show data for relative sources -s, --source-prefix DIR Source prefix to elide -t, --stdout Output to stdout instead of a file -u, --unconditional-branches Show unconditional branch counts too -v, --version Print version number, then exit -w, --verbose Print verbose informations -x, --hash-filenames Hash long pathnames Obsolete options: -i, --json-format Replaced with -j, --json-format -j, --human-readable Replaced with -H, --human-readable For bug reporting instructions, please see: .