Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Reading tracefile coverage.info
                                               |Lines      |Functions|Branches  
Filename                                       |Rate    Num|Rate  Num|Rate   Num
================================================================================
[/alma/ACS-2023APR/ACSSW/include/]
ACSErrTypeCommon.h                             | 0.0%    23|    -   0|    -    0
ACSErrTypeCommonC.h                            | 0.0%     1| 0.0%   2|    -    0
acsThread.h                                    |66.7%     3|66.7%   3|    -    0
acsThreadBase.h                                |90.9%    22|75.0%   4|    -    0
acsThreadManager.h                             |90.9%    11|50.0%   4|    -    0
...

[/home/almamgr/gcov/src/ACS/LGPL/CommonSoftware/]
bt/include/bulkDataNTConfiguration.h           | 100%     4|    -   0|    -    0
bt/object/bulkDataNTGenSender.cpp              |56.7%   224|33.3%   3|    -    0
bulkDataNT/include/bulkDataNT.h                | 0.0%     1|    -   0|    -    0
bulkDataNT/include/bulkDataNTCallback.h        |85.7%    14|22.2%   9|    -    0
...
================================================================================
                                         Total:|14.0% 11863| 6.4%  2k|    -    0

Finally, it also includes the genhtml utility which can generate an html report:

Code Block
languagebash
genhtml -o report coverage.info

#If sources are not available
genhtml -o report --no-source coverage.info