Sonar Scanner Reporting Zero Bugs For VxWorks Project

scanner
(Esteban Duran) #1

Software Information:

  • SonarQube Version: 7.6.0.21501 Developer Edition

  • Scanner Version: sonar-scanner-3.3.0.1492-windows

  • 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:

repo_base
│ README.md
│ sonar-project.properties

└───folder1
│ │ file01.cpp
│ │ file01.hpp


└───RTP
| │
| │
| |_____ 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.