I'm testing a project and I use Codecov to publish the coverage rate of my tests. Codecov uses the report generated by Jacoco and so far it works fine. Codecov doesn't display only the coverage rates, but also the complexity rates of the tests.
I have two questions about this complexity rate, I couldn't find answers for in the documentation:
What is exactly the complexity rate and how does Codecov measure it?
The project under test is a maven multi-module project. When I activate the report-aggregate-goal of the jacoco plugin in my POM, in order to aggregate the reports of each module, as a result no complexity is displayed on codecov:
But when I don't activate the plugin, then the complexity is calculated:
Why is it so?