SonarCloud JavaScript/TypeScript project showing 0% coverage

  • ALM used: GitHub
  • CI system used: GitHub Actions
  • Scanner command used when applicable: SonarSource/sonarcloud-github-action@master
  • Languages of the repository: JavaScript/TypeScript
  • Error observed: 0% code coverage

Since yesterday I’m seeing our repository showing 0% coverage. Tracking backwards in the background task list it started happening on the first analysis done using:

  • JavaScript/TypeScript Code Quality and Security (javascript)

The previous ones were using:

  • JavaScript/TypeScript Code Quality and Security (javascript)

The latest task ID is AXtWMMQyqZlDOgx0gDfa

I Had a similar issue a few months ago in a previous SonarCloud update. It seems to be the same case now: Master branch started showing: The main branch has no lines of code

My file had the following configuration:


Once I change it to:


It works as expected.

I just see that the previous configuration was deprecated and for that reason it was removed in the plugin 8.3: Drop deprecated TypeScri

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.