Sonar seems to be failing with 0% coverage

Here is the error below


https://sonarcloud.io/component_measures?id=rpx-xui-webapp&metric=new_coverage&pullRequest=1032&view=list
This is a blocker for us at the moment. Could somebody let us know whats the issue? Thanks

1 Like

We faced a similar issue on our typescript project. The problem for us turns out to be this deprecation - Drop deprecated TypeScript properties: `sonar.typescript.lcov.reportPaths`, `sonar.typescript.node`, `sonar.typescript.

The fix was to change sonar.typescript.lcov.reportPaths=coverage/lcov.info to sonar.javascript.lcov.reportPaths=coverage/lcov.info in our sonarcloud project properties file.

Thanks @helfi92 But, is this a strategic change or temporary one

I think this is a permanent change. The docs have also been updated to suggest sonar.javascript.lcov.reportPaths=coverage/lcov.info for typescript projects.