Sonarqube is not showing code coverage after running

I found the solution –

The maven plugin I have included has configuration of Jacoco’s destfile and datafile as ${basedir}/target/coverage-reports/jacoco-unit.exec

but by default sonar reads at ${basedir}/target/jacoco.exec. I changed the default at http://localhost:9000/settings?category=java


Ref: Sonar Code Coverage


Couldn’t find the working reference link. Here is aux link: Baeldung Sonar and jacoco

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)