Skip to content

Commit d35d3e7

Browse files
committed
Set the bar for JaCoCo checks
1 parent 25c95b1 commit d35d3e7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ limitations under the License.
108108
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
109109
<project.build.outputTimestamp>2024-02-08T21:29:14Z</project.build.outputTimestamp>
110110
<commons.jacoco.version>0.8.12</commons.jacoco.version>
111+
<!-- JaCoCo: Don't make code coverage worse than: -->
112+
<commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
113+
<commons.jacoco.classRatio>0.92</commons.jacoco.classRatio>
114+
<commons.jacoco.instructionRatio>0.91</commons.jacoco.instructionRatio>
115+
<commons.jacoco.methodRatio>0.87</commons.jacoco.methodRatio>
116+
<commons.jacoco.branchRatio>0.86</commons.jacoco.branchRatio>
117+
<commons.jacoco.lineRatio>0.89</commons.jacoco.lineRatio>
118+
<commons.jacoco.complexityRatio>0.84</commons.jacoco.complexityRatio>
111119
</properties>
112120
<build>
113121
<defaultGoal>clean verify apache-rat:check japicmp:cmp checkstyle:check javadoc:javadoc</defaultGoal>

0 commit comments

Comments
 (0)