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

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

commit 649ffa99c8f3716225055edd73ac2feef0ed1b1b
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Wed Jul 3 15:27:31 2024 +0100

    Update jacoco coverage rules for sampling module
---
 commons-rng-sampling/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml
index 38c75c9e..a85a7e73 100644
--- a/commons-rng-sampling/pom.xml
+++ b/commons-rng-sampling/pom.xml
@@ -47,6 +47,12 @@
     <!-- Java 9+ -->
     <commons.module.name>org.apache.commons.rng.sampling</commons.module.name>
     <rng.jira.component>sampling</rng.jira.component>
+
+    <!-- Change from commons-parent of 1.0 as some floating-point edge cases 
cannot be reached -->
+    <commons.jacoco.instructionRatio>0.99</commons.jacoco.instructionRatio>
+    <commons.jacoco.branchRatio>0.99</commons.jacoco.branchRatio>
+    <commons.jacoco.lineRatio>0.99</commons.jacoco.lineRatio>
+    <commons.jacoco.complexityRatio>0.99</commons.jacoco.complexityRatio>
   </properties>
 
   <dependencies>

Reply via email to