SonarQube Version: 7.9.1
Scanner Version: 220.127.116.116
We are trying to get sonarqube to analyze our c++ project. We have several subdirectories in which all the files that need to be included in our coverage scan. When the project is built it is dynamically linked. We have successfully been able to compile the files and produce .gcno,.gcda and .gcov files for each of the source files. We collect all the gcovs into one directory that acts as our report directory for them to be analyzed from. However when sonar scanner goes to scans the files in the directory we have the following message:
“WARN: File not analyzed by Sonar, so ignoring coverage: <file_path>”
We have tried fiddeling with the -Dsonar.cfamily.gcov.reportsPath with no success. We are not sure what to do next to make is so it actually analyzes the gcovs.