Code Coverage Not Updating in SonarQube (CE 9.9) for TypeScript Project

We’re using SonarQube Community Edition 9.9. While running tests locally shows the expected increase in code coverage, the SonarQube UI doesn’t reflect these changes after analysis.

Has anyone experienced a similar issue or can point me in the right direction? Happy to share more details if needed.

Thanks in advance!

Hi,

Normally I would start by admonishing you to upgrade, but you’ve shared in another thread that you’re working on that already.

This sounds like a problem with the import of coverage report. Can you post the analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann