Sure, it is the "0.6" versus "73%" discrepancy, caused by the checker.
Abbreviated config in pom.xml:
<id>jacoco-check</id>
<phase>prepare-package</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule implementation="org.jacoco.maven.RuleConfiguration">
<element>BUNDLE</element>
<limits>
<limit implementation="org.jacoco.report.check.Limit">
<counter>COMPLEXITY</counter>
<value>COVEREDRATIO</value>
<minimum>0.7</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
Maven output error :
Rule violated for bundle mybundle: complexity covered ratio is 0.6, but expected minimum is 0.7
Output report table :
Missed Instructions Cov. Missed Branches Cov. Missed Cxty Missed Lines Missed Methods Missed Classe
a 3352,171 86% 72172 70% 78 218 88 581 8 88 0 12
b 120731 85% 3078 72% 39 95 34 244 9 41 0 4
c 64480 88% 614 70% 9 48 13 110 3 38 0 7
d 59434 88% 917 65% 9 23 7 98 0 10 0 2
e 39512 92% 319 86% 6 43 12 113 3 32 0 7
f 271,801 98% 341 93% 4 47 7 132 1 25 0 5
g 44 100% 4 100% 0 3 0 10 0 1 0 1
h 100% n/a 0 3 0 3 0 3 0 1
Total 644 of 6,833 90% 123 of 468 73% 145 480 161 1,291 24 238 0 39
Created with
JaCoCo 0.8.5.201910111838