Lcov.info not being loaded

We are analyzing an angular project and have the coverage/lcov.info created with the correct data in it and get the following report from it.

=============================== Coverage summary ===============================
Statements : 66.3% ( 417/629 )
Branches : 34.45% ( 41/119 )
Functions : 53.75% ( 86/160 )
Lines : 66.06% ( 364/551 )

Once we run sonar-scanner with

-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info

There is no coverage reported in sonar-qube. We have this working fine with nodejs.

Was missing this -Dsonar.typescript.lcov.reportPaths=coverage/lcov.info

1 Like

Hi, LCOV file missing in my case while building jenkins project and run sonarQube, after that i am not able to see LCOV file even though i have given right path