Sonar Scanner Reporting Zero Bugs For VxWorks Project

Software Information:

  • SonarQube Version: Developer Edition

  • Scanner Version: sonar-scanner-

  • build-wrapper-win-x86-64

  • Wind River VxWorks 6.9 GCC compiler

My goal is to generate project analysis.

My source code structure is as follows:


│ │ file01.cpp
│ │ file01.hpp

| │
| │
| |_____ App1
| | wrmakefile

So basically in the repo_base directory, we have multiple folders: repo_base/folder1, repo_base/folder2, etc. that contain source code that gets included in an RTP Application at build time. The RTP applications are stored in repo_base/RTP/App1.

The problem that I am having is that in Wind River Workbench, I run the build_wrapper command as follows:

build-wrapper-win-x86-64 --out-dir bw_output %makeprefix% make --no-print-directory

I then run the sonar-scanner tool which runs successfully.

Unfortunately, when I check my project, I only get code smells and 0% for everything else.

Let me know if there is further information I can provide to find a solution.