I am trying to calculate code coverage for both my Unit tests & Functional tests. After running my unit tests i generate jacoco.exec file. Similarly for functional tests i get jacoco-it.exec file.
Now i want to provide these files as input to sonar as below:
mvn sonar:sonar -Dsonar.jdbc.url="jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8" -Dsonar.jdbc.username=sonar -Dsonar.jdbc.password=sonar -Dsonar.host.url=http://localhost:9000 -Dsonar.jacoco.reportPath=jacoco.exec -Dsonar.jacoco.itReportPath=jacoco-it.exec
But sonar generates 0% coverage at dashboard. Is there any other way i can calculate the coverage from jacoco.exec files, without providing my source code/ binaries to analyse it?