Pablissimo / SonarTsPlugin

SonarQube plugin for TypeScript files
MIT License
185 stars 105 forks source link

Code Coverage not visible in measures only in individual files #113

Closed nuphoff closed 7 years ago

nuphoff commented 7 years ago

Code coverage is not visible in Home or Measures tab, but when i navigate to the individual files it does show which lines were covered.

See the screenshots below

Configuration: Sonarqube 5.6.4 Typescript plugin 1.0.0-RC1

sonarqube-home sonarqube-measures sonarqube-coverage sonarqube-individualfile

Pablissimo commented 7 years ago

That's irksome - any chance you can attach your example project and sonar-project.properties file please? I've got a 5.6.2 instance that I regression test on locally, and the 'basic-setup' sample project seems to yield coverage info just fine:

image

Would be interested to hear if you get the same when analysing the basic-setup sample project in the repo?

nuphoff commented 7 years ago

Thank you for the quick response.

It's probably an issue with sonarqube itself because i have tried it on a bigger project more than 12 lines of code and then the coverage does show up, maybe there is a treshold of somesort?