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-logging.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d59890  Set a baseline for JaCoCo checks
3d59890 is described below

commit 3d59890e6ff38454177695e84dfef0f5ce59ce32
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed May 8 16:05:18 2024 -0400

    Set a baseline for JaCoCo checks
---
 pom.xml                           | 9 ++++++++-
 src/site/resources/profile.jacoco | 0
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 51170f7..0b38b74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -694,8 +694,15 @@ under the License.
       org.slf4j.spi;version="[1.7, 3)";resolution:=optional
     </commons.osgi.import>
     
<project.build.outputTimestamp>2024-03-24T15:00:55Z</project.build.outputTimestamp>
+    <!-- JaCoCo: Don't make code coverage worse than: -->
+    <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
+    <commons.jacoco.classRatio>0.86</commons.jacoco.classRatio>
+    <commons.jacoco.instructionRatio>0.53</commons.jacoco.instructionRatio>
+    <commons.jacoco.methodRatio>0.69</commons.jacoco.methodRatio>
+    <commons.jacoco.branchRatio>0.51</commons.jacoco.branchRatio>
+    <commons.jacoco.lineRatio>0.58</commons.jacoco.lineRatio>
+    <commons.jacoco.complexityRatio>0.51</commons.jacoco.complexityRatio>
   </properties>
-
   <developers>
     <developer>
       <id>baliuka</id>
diff --git a/src/site/resources/profile.jacoco 
b/src/site/resources/profile.jacoco
new file mode 100644
index 0000000..e69de29

Reply via email to