Lcov inconsistent coverage

I started using lcov about a month ago. The coverage score seems inconsistent. The first run reported a 75% coverage of the lines, where only 19% was reported as the second run. The test suite used was for both runs. I see the following warning during lcov -remove. Any suggestions?

lcov: WARNING: negative counts found in trace file all.info

What to worry about?

Thanks in advance.

+5
source share

Source: https://habr.com/ru/post/1201483/


All Articles