Not getting code coverage

  • ALM used (Azure DevOps)

  • CI system used (Azure DevOps)

  • Scanner command used when applicable (private details masked)

  • Languages of the repository (Typescript Angular 10 & 12, c# .net core)

  • Error observed (From the past few weeks none of the Pull Request’s are having code coverage. Me and my whole team have been getting 0.0% code coverage. We tried for a new project as well even that was not having any code coverage. Even the earlier projects which were working fine even they are not giving any coverage. )

    I am sort of stuck, not able to find what the root cause is. Has this to do with keys or my plan is expired or anything non-technical?

Hi Sandeep,

Thanks for posting your question here.
I answered the email you sent to contact@sonarcloud.io and let’s continue the conversation there.

Thanks,
Fabio

Hello @sandeep_s , as of August 16th the property for typescript coverage got deprecated in favor of sonar.javascript.lcov.reportPaths . Could you confirm you are using the updated one? You can read more about coverage in our documentation.

Please, let us know if that works or if there’s anything else we can help you with!

Best regards,
Antonio