Coverage decreased on Portfolio for Python apps after upgrade


I experienced few issues since the last upgrade of my SonarQube.

  • Moving from to
  • I noticed that my coverage on my portfolio dashboard descreased drastically (-30 points).
  • After digging a lot, I was able to notice that it concerns only my Python applications, with a decrease of the line to cover number. Because of the formula, it seems to be quite normal that my coverage decreased, but it is really bad for my KPIs!

The strange behavior is that is does not affect project coverage, but only on the portfolio view.

Do you have any inputs on why this occurs for my Python apps in the portfolio view ? I suppose it could be related to [SONAR-15925] Improve Python analysis: performance and precision improvements - SonarSource but I’m not sure.

Thank you in advance for your insight!


Hey there.

SonarQube only reads coverage reports – it doesn’t generate the coverage data. Do you see a discrepancy between your raw coverage report and SonarQube? Is it possible the coverage report itself changed?