Sonarqube Expose Condition Coverage

Must-share information:

  • Sonarqube Enterprise v8.8
  • Jacoco v8.6
  • Android, Kotlin, Java project

Our project is doing new code coverage analysis and one line of code indicates that it has “9 out of 10 conditions covered.” What are the 10 conditions here, and how do we identify the 1 that’s not passing? (screenshot below)

Screen Shot 2021-10-04 at 4.24.31 PM


First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.8 → 8.9.2 → 9.1 (last step optional)

Regarding your actual question, SonarQube only reflects what was present in your coverage reports. You would need to direct the question to the maintainers of your coverage engine.