Jacoco & Sonarqube Coverage doesn't match

I’m scanning a java project with maven sonar scanner and it’s picking up the jacoco coverage report but coverage in jacoco in 23% where as in sonarqube it showing as 34.8%, Why there is difference in the coverage?

I suggest finding a specific discrepancy between the report (a file, for example) and sharing the information (screenshots, information).

Also take a look at this guide: