💾 Archived View for freeshell.de › tldr › gcov.gmi captured on 2023-09-28 at 16:28:44. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
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.
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).