Sonar is not showing same coverage as Jaccoco

I am working on java multimodule project and i want to export code coverage to sonar.But i don’t know i don’t have the same coverage.
Here is the coverage for jacoco:

and this is the one for sonar
Even for a simple file

jacoco shows 66 but sonar 75.
Do you have an idea what it could cause this problem?


This blog post has some age on it, but it’s largely still relevant and may help explain what you’re seeing.