This MR introduces automatic coverage calculation, which is added as a separate page to the auto-generated online documentation.
This uses gcov
from gcc7.3
. Coverage was added as a target in the CMakeLists.txt and in order to execute coverage calculation you have to do the following:
mkdir build && cd build
cmake -DCMAKE_WITH_COVERAGE:STRING=ON ..
make mhm_coverage_CI
As an addition, the mhm
executable can now be called with a passed directory path, where mhm
should be executed in.
This feature is likely to change in the future.