Sonarcloud cannot generate report for all files in my project

Hello, I am working on a code quality pipeline on Azure DevOps, using the available code scanning task as my standalone scanner. I have generated the build wrapper and the code scan seems to be able to locate all my code files, however on my sonarcloud report only 3 files are available. I cannot show my full log due to security reason, but I can show some of the logs that I believe is connected to my problem

    INFO: 206 files ignored because of scm ignore settings
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=254ms
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/root/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,
WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
#This paticular log especially caught my eyes, since it seems to indicate completion of scan for 97 units as listed in some logs directly above it that I can't share
INFO: Subprocess(es) done in 25892ms
INFO: 97 compilation units analyzed
INFO: Sensor CFamily [cpp] (done) | time=33776ms

Additional information: My project is generally a Keil embedded project for the Nrf52832, compiled using ARM gcc through the use of a modified Makefile in the pca10040/s132/armgcc. My main project file itself is positioned like an example in the Nrf52 SDK 15.02. My is at the root directory. If you need anymore information, please let me know. Thanks in advance for your help`

Hello @Ha_Pham_Son,

I sent you a PM where you can share the entire Scanner logs privately


1 Like