Skip to content

Commit 2392dff

Browse files
committed
Set the bar for JaCoCo checks
1 parent a72bbe6 commit 2392dff

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

pom.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,18 @@
183183
<checkstyle.config.file>${basedir}/src/conf/checkstyle/checkstyle.xml</checkstyle.config.file>
184184
<checkstyle.suppress.file>${basedir}/src/conf/checkstyle/checkstyle-suppressions.xml</checkstyle.suppress.file>
185185
<checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt, **/maven-archiver/pom.properties</checkstyle.resourceExcludes>
186-
187186
<japicmp.skip>false</japicmp.skip>
188-
189187
<commons.release.isDistModule>true</commons.release.isDistModule>
190188
<project.build.outputTimestamp>2024-05-02T22:04:50Z</project.build.outputTimestamp>
189+
<!-- JaCoCo: Don't make code coverage worse than: -->
190+
<commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
191+
<commons.jacoco.classRatio>1.00</commons.jacoco.classRatio>
192+
<commons.jacoco.instructionRatio>0.98</commons.jacoco.instructionRatio>
193+
<commons.jacoco.methodRatio>1.00</commons.jacoco.methodRatio>
194+
<commons.jacoco.branchRatio>0.97</commons.jacoco.branchRatio>
195+
<commons.jacoco.lineRatio>0.99</commons.jacoco.lineRatio>
196+
<commons.jacoco.complexityRatio>0.96</commons.jacoco.complexityRatio>
191197
</properties>
192-
193198
<build>
194199
<defaultGoal>clean verify apache-rat:check japicmp:cmp spotbugs:check pmd:check pmd:cpd-check javadoc:javadoc checkstyle:check</defaultGoal>
195200
<pluginManagement>

0 commit comments

Comments
 (0)