This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit f670f11172996ef53e043d4ea48590f33dd31d08
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Apr 21 09:33:49 2024 -0400

    Set the (low) bar for JaCoCo checks
---
 pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pom.xml b/pom.xml
index b891d661..68b075ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,6 +68,14 @@
     <assertj.version>3.25.3</assertj.version>
     <jna.version>5.14.0</jna.version>
     <japicmp.skip>false</japicmp.skip>
+    <!-- JaCoCo: Don't make code coverage worse than: -->
+    <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
+    <commons.jacoco.classRatio>0.90</commons.jacoco.classRatio>
+    <commons.jacoco.instructionRatio>0.65</commons.jacoco.instructionRatio>
+    <commons.jacoco.methodRatio>0.70</commons.jacoco.methodRatio>
+    <commons.jacoco.branchRatio>0.58</commons.jacoco.branchRatio>
+    <commons.jacoco.lineRatio>0.68</commons.jacoco.lineRatio>
+    <commons.jacoco.complexityRatio>0.58</commons.jacoco.complexityRatio>
   </properties>
 
   <distributionManagement>

Reply via email to