# Local jacoco report and Sonar UI coverage report is different

**URL:** <https://community.sonarsource.com/t/local-jacoco-report-and-sonar-ui-coverage-report-is-different/108939>\
**Category:** SonarQube Server / Community Build\
**Tags:** jacoco, kotlin, sonarqube, scanner, coverage\
**Created:** [February 9, 2024, 12:30pm UTC](https://community.sonarsource.com/t/local-jacoco-report-and-sonar-ui-coverage-report-is-different/108939 "2024-02-09T12:30:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [February 12, 2024, 10:25am UTC](https://community.sonarsource.com/t/local-jacoco-report-and-sonar-ui-coverage-report-is-different/108939/2 "2024-02-12T10:25:20Z")

</div>

Hey there.

This guide is a great start:

> [@JaCoCo coverage is different in Sonar](https://community.sonarsource.com/t/jacoco-coverage-is-different-in-sonar/35757):
>
> Problem you have Your JaCoCo coverage is not the same on SonarQube/SonarCloud than it is on JaCoCo Check the following It might be expected because you are not looking at the right metrics. Read more about this in the [SonarQube and code coverage](https://community.sonarsource.com/t/sonarqube-and-code-coverage/4725) guide. Your project has more than only Java/Kotlin/Scala code so when aggregated, coverage results might differs than only Java code coverage. If you are using Lombok, make sure that you have the right configuration using the [Getting meaningful covera…](https://community.sonarsource.com/t/getting-meaningful-coverage-results-in-sonarqube-when-using-jacoco-and-lombok/13821)

---

_[View the full topic](https://community.sonarsource.com/t/local-jacoco-report-and-sonar-ui-coverage-report-is-different/108939)._
