You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/04/16 13:59:11 UTC
(commons-codec) 02/03: Set the bar for JaCoCo checks
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-codec.git
commit d35d3e7e35a751fa73fe7ec485f80989434b78c0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Apr 16 09:53:50 2024 -0400
Set the bar for JaCoCo checks
---
pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/pom.xml b/pom.xml
index 4a9e31b1..445fe313 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,6 +108,14 @@ limitations under the License.
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
<project.build.outputTimestamp>2024-02-08T21:29:14Z</project.build.outputTimestamp>
<commons.jacoco.version>0.8.12</commons.jacoco.version>
+ <!-- JaCoCo: Don't make code coverage worse than: -->
+ <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
+ <commons.jacoco.classRatio>0.92</commons.jacoco.classRatio>
+ <commons.jacoco.instructionRatio>0.91</commons.jacoco.instructionRatio>
+ <commons.jacoco.methodRatio>0.87</commons.jacoco.methodRatio>
+ <commons.jacoco.branchRatio>0.86</commons.jacoco.branchRatio>
+ <commons.jacoco.lineRatio>0.89</commons.jacoco.lineRatio>
+ <commons.jacoco.complexityRatio>0.84</commons.jacoco.complexityRatio>
</properties>
<build>
<defaultGoal>clean verify apache-rat:check japicmp:cmp checkstyle:check javadoc:javadoc</defaultGoal>