I am using GCC compiler with -g -O0 -fprofile-arcs -ftest-coverage
flags. It generates *.gcda
files of the source code files which has tests. I am using github.com/eddyxu/cpp-coveralls for coverage upload.
The problem is that Coveralls shows that files are 100% covered but, actually, they are not covered. In this case only src/utils/language.cpp
has tests and Coveralls shows proper result.
What should I do that Coveralls could show 0% instead of 100%?