I have these lines marked partial, why is it?
What does those coverage numbers mean? How came you have 2 hits of the branch content, while the branch itself marks 3/4 ?
I have these lines marked partial, why is it?
What does those coverage numbers mean? How came you have 2 hits of the branch content, while the branch itself marks 3/4 ?
According to the gcov report the branch coverage is as follows:
30: 140: if (obj->root)
branch 0 taken 11% (fallthrough)
branch 1 taken 89%
branch 2 taken 0% (fallthrough)
branch 3 taken 100%
Raw upload found in the Codecov Commit's Build tab.
In compiled languages there could be multiple execution strategies. In this case there are 4. Codecov detects all branches, as you can see in the coverage report above, there is not much other data to go off.