Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
student:gcov:start [2019/09/25 14:41] – created bernstdhstudent:gcov:start [2025/08/21 16:21] (current) bernstdh
Line 1: Line 1:
 ====== gcov/lcov ====== ====== gcov/lcov ======
  
-[[ https://gcc.gnu.org/onlinedocs/gcc/Gcov.html | ''gcov'' ]] is a test coverage tool for the GCC (GNU Compiler Collection). [[ https://wiki.documentfoundation.org/Development/Lcov | ''lcov'' ]] is a graphical front-end ''gcov''. "It collects ''gcov'' data for multiple source files and creates HTML pages containing the source code annotated with coverage information."+[[ https://gcc.gnu.org/onlinedocs/gcc/Gcov.html | gcov ]] is a test coverage tool for the GCC (GNU Compiler Collection). [[ https://wiki.documentfoundation.org/Development/Lcov | lcov ]] is a graphical front-end for ''gcov''. "It collects ''gcov'' data for multiple source files and creates HTML pages containing the source code annotated with coverage information."
  
 ==== Before Using gcov/lcov ==== ==== Before Using gcov/lcov ====
Line 141: Line 141:
 The color-coded report will look something like the following. The color-coded report will look something like the following.
  
-{{:student:gcov:lcov_coverage-report.png}}+{{:student:gcov:lcov_coverage-report.png|Example coverage report}}
  
 This report makes it easy to see that the ''getPurchases()'' method was not covered by the tests. This report makes it easy to see that the ''getPurchases()'' method was not covered by the tests.