cmake -GNinja .. \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DENABLE_COVERAGE=ON \
-DENABLE_BRANCH_COVERAGE=ON
ninja coverage-check-all
Be patient, it takes a long time to complete.
Open the generated `check-all.coverage/index.html` and navigate through
the coverage report.
Try to run a few other coverage targets, like:
ninja coverage-check
or
ninja coverage-check-functional
With secp256k1 standalone:
cmake -GNinja .. \
-DCMAKE_C_COMPILER=gcc \
-DSECP256K1_ENABLE_COVERAGE=ON \
-DSECP256K1_ENABLE_BRANCH_COVERAGE=ON
ninja coverage-check-secp256k1