As I think, SonarQube doesn’t support function coverage. Is there any alternative to function coverage?
Or do you have plan to provide the feature in the future?
You created 2 posts in 2 days on the same subject. Please don’t do that. I’m going to consolidate your other thread into this one.
Regarding your feature request, could you elaborate on why you want function coverage? If nothing else that might better arm people to suggest an alternative.
Also, you should note that SonarQube mostly collects and reports the coverage data generated by other tools. In order for us to show it to you it needs to be in the underlying reports, e.g. the JaCoCo report. If it’s not already available from the tool vendor of your choice, you probably need to start your lobbying for support there.
Is there a way to measure function coverage with SonarQube?
I could measure Line and Branch Coverage however could not find how to get function coverage.
- Language: Java
- Build: Gradle/Maven
- Jacoco plugin
That’s not a metric we collect, if it’s even available from JaCoCo.
I would like to to see support for function-level coverage.