LCOV/GCOV branch coverage with C++ producing branches all over the place
The thing is that GCC also records branch information for each line where a scope exit due to some thrown exception is possible (e.g. on Fedora 25 with GCC 6.3.1 and lcov 1.12). The value of this information is limited. The main use case for branch coverage data are complicated if-statements that have a multi-clausal … Read more