Code Coverage and Duplications on New Code Not Computed in SonarQube (GitLab CI)

Hello everyone,

I’m running a CI pipeline using GitLab, and the SonarQube analysis completes successfully. However, the code coverage and duplications on new code show as “not computed”, even after running the analysis multiple times.

Everything else seems fine, and this issue persists even after the second analysis.

Could someone please help me identify what I might be missing or misconfigured?

Thanks in advance!

Hello!

Are you incorporating new code into your subsequent analyses? Are you able to observe both of these measures across the entire codebase?

And, as mentioend in the template post, what version of SonarQube are you using?

hello colin,

i didnt changed any code and ran my analysis and i am using Community Build v25.5.0.107428 MQR Mode. if i did with jenkins it is working as expected.

Well then, you wouldn’t see any measures on new code if you haven’t changed any code!

Without adding new code?