I am using Gcovr to measure code coverage in C++. In a simple if-statement, I am getting weird results. Below I add a picture of a code coverage. Can ...
I am using Gcovr to measure code coverage in C++. In a simple if-statement, I am getting weird results. Below I add a picture of a code coverage. Can ...
Some references states that Qt is not covred using lcov. So need to confirm wheater lcov or gcovr be used for Qt. ...
I am building a number of sources and then running gcovr with JSON output: Later on, I add a coverage target to combine the gcovr output: If I r ...
I was trying to generate a code coverage report from trace1.json. The trace1.json was not generated by gcovr, it was generated using Lauterbach softwa ...
I find it really difficult when refactoring huge codebase, changing tests etc. to find on my code coverage report what lines I'm no longer covering. ...
I have managed to show code coverage data with Cobertura XML in Jenkins. Its works well, but I wants to see the source code in Jenkins, too. I acciden ...
My issue is different than this question: the problem there was that he was compiling the same file twice. I am only compiling each file once. The ...
I am working on creating a Jenkins pipeline for unit-testing maybe with GTest. My plan is to use the following tools: GTest for Unit-Testing, gcov for ...
I am trying to get code coverage in my unit test project in windows system. Description After compiling with -fprofile-arcs -ftest-coverage, I found ...
I have the following CMakeLists.txt file: and a src folder with a header and a source file: QuickMaths.hpp: and I have a test folder with a Q ...
I am producing coverage reports using gcovr for import into sonar. This use this format (https://docs.sonarqube.org/latest/analysis/generic-test/): ...
I am trying to use GCOV to test a Device Driver eg: Ethernet Driver wrote in C language. This driver is in Userspace and has a lot of Kernelspace call ...
I'm trying to install gcovr tool in virtualenv and tools installs well, but on running the binary, i see warnings with lxml , how do i fix this? Comm ...
I recently upgraded to a new version of gcc/g++/gcov, and now gcov behaves strangely. The new version claims some lines of code are not covered that w ...
I am trying to merge coverage data from specific files from multiple runs into a single "report". In each project I generate test coverage for differe ...
I have the following structure for a header only library Now test1.cpp only uses header1.h, so when I compile test1.cpp with --coverage option, run ...
gcovr, despite providing complete arguments list, generates empty reports? Command: gcovr -r /home/<username>/Projects/ --object-directory < ...
I have 3 files in a folder. one.cpp, one.hpp and main.cpp. one.hpp has a class declaration. one.cpp has definition of functions in the class both unde ...
Steps to Reproduce the issue Write main.cpp Download Toolchain from this link Compile with below commands. . /opt/poky/1.6/environ ...
I have ubuntu 18.04 and I had gcc version 7 on there. I updated gcc to version 8 using alternatives and slaved my gcov version to gcc also to keep th ...