# Sonarqube python code coverage show 0%

**URL:** <https://community.sonarsource.com/t/sonarqube-python-code-coverage-show-0/29792>\
**Category:** SonarQube Server / Community Build\
**Tags:** python, jenkins, coverage, scanner\
**Created:** [August 19, 2020, 5:15pm UTC](https://community.sonarsource.com/t/sonarqube-python-code-coverage-show-0/29792 "2020-08-19T17:15:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Alexandre\_Gigleux](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alexandre_gigleux/32/26_2.png) [@Alexandre\_Gigleux](https://community.sonarsource.com/u/Alexandre_Gigleux)\
**Post date:** [August 21, 2020, 7:42am UTC](https://community.sonarsource.com/t/sonarqube-python-code-coverage-show-0/29792/2 "2020-08-21T07:42:10Z")

</div>

Hello,

I’ve got the feeling you did not run your coverage.py command so that it generates details at file level so they can be loaded into SonarQube.

Here is an example of file content expected: [https://github.com/SonarSource/sonar-python/blob/master/sonar-python-plugin/src/test/resources/org/sonar/plugins/python/coverage-reports/coverage.xml](https://github.com/SonarSource/sonar-python/blob/master/sonar-python-plugin/src/test/resources/org/sonar/plugins/python/coverage-reports/coverage.xml)

Did you look at [[Coverage & Test Data] Generate Reports for Apex, C/C++, Objective-C, Go, JS/TS and Python](https://community.sonarsource.com/t/coverage-test-data-generate-reports-for-apex-c-c-objective-c-go-js-ts-and-python/9687) in the Python section and run the recommended commands?

Thanks  
Alex

---

_[View the full topic](https://community.sonarsource.com/t/sonarqube-python-code-coverage-show-0/29792)._
