Julien Berthoud
Julien Berthoud

Reputation: 769

Codecov : coverage and complexity rate

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:

  1. What is exactly the complexity rate and how does Codecov measure it?

  2. 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:

enter image description here

But when I don't activate the plugin, then the complexity is calculated: enter image description here

Why is it so?

Upvotes: 6

Views: 5313

Answers (0)

Related Questions