Typescript Coverage for SonarQube

Hi I have sonar version of 6.7.1 and when i try to scan the type script it is showing zero for line coverage for typescript code but for javascript it is able to scan the lines of code. Please help as iam new to sonar .


May be you are setting only sonar.javascript.lcov.reportPaths? for TypeScript you should set sonar.typescript.lcov.reportPaths. Both properties can reference the same report containing info for files of both languages.

If that’s not your problem, please provide analysis logs and project config.