After several months, I succeeded thanks to some Sonar people, to get some results again on Sonar Cloud (I had to add the property sonar.cfamily.internal.reduceAnalysisScope=false).
When I analyze a short-live branch, Sonar raises bugs/smell code on new code I deliberately added for test purpose, but also for all code in the files where I added the code. So I get also bugs/smell code for old code.
This is not the expected behavior. This is going to be about the SCM metadata available to analysis (and thus, about your checkout). Are you doing a shallow clone?