💾 Archived View for freeshell.de › tldr › gcov.gmi captured on 2024-02-05 at 10:59:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

gcov

Code coverage analysis and profiling tool that discovers untested parts of a program.
Also displays a copy of source code annotated with execution frequencies of code segments.

More information.

gcov {path/to/file.cpp}
gcov --all-blocks {path/to/file.cpp}
gcov --branch-probabilities {path/to/file.cpp}
gcov --branch-counts {path/to/file.cpp}
gcov --no-output {path/to/file.cpp}
gcov --function-summaries {path/to/file.cpp}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY