Sonar Not Showing Junit coverage,but showing No of tests

i m using * Version 7.9.1 (build 27448) Sonarquebe and i m not able to get the Coverage percentage in sonar dashboard

Hi, we need more details.
Are you importing JaCoCo reports?


We are using Junit tests.

To have coverage, you need to run JaCoCo and then import its XML report in the SonarQube Scanner.
See info here:

Ok thanks.

which means Junit tests coverage will not be supported?

JUnit only orchestrates the execution of unit tests, it doesn’t give information regarding code coverage by itself. I suppose you’re using another tool with JUnit to collect test coverage?