3

Is there a way to tell Jacoco not to take into account the methods with very low cyclomatic complexity(CyC)(CyC<2) while calculating the coverage percentage?

NB:I think this is doable in Atlassian-clover either by filtering out the method with CyC <= maxComplexity, or by defining a custom metric that "multiplies the coverage value by CyC"

Community
  • 1
  • 1

0 Answers0