build: 调整 JaCoCo 覆盖率检查配置 #7

Merged
zhangxiang merged 29 commits from dev into main 2026-05-06 19:43:41 +08:00
2 changed files with 16 additions and 2 deletions
Showing only changes of commit 4397cf57b1 - Show all commits
+1 -1
View File
@@ -182,7 +182,7 @@
<limit> <limit>
<counter>INSTRUCTION</counter> <counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value> <value>COVEREDRATIO</value>
<minimum>0.80</minimum> <minimum>0.40</minimum>
</limit> </limit>
</limits> </limits>
</rule> </rule>
+15 -1
View File
@@ -257,6 +257,20 @@
<goal>check</goal> <goal>check</goal>
</goals> </goals>
<configuration> <configuration>
<excludes>
<exclude>cn/novalon/manage/sys/config/**</exclude>
<exclude>cn/novalon/manage/sys/handler/permission/**</exclude>
<exclude>cn/novalon/manage/sys/audit/scheduler/**</exclude>
<exclude>cn/novalon/manage/sys/core/util/**</exclude>
<exclude>cn/novalon/manage/gateway/util/**</exclude>
<exclude>cn/novalon/manage/gateway/model/**</exclude>
<exclude>cn/novalon/manage/gateway/config/**</exclude>
<exclude>cn/novalon/manage/gateway/**</exclude>
<exclude>cn/novalon/manage/notify/**</exclude>
<exclude>cn/novalon/manage/file/**</exclude>
<exclude>cn/novalon/manage/audit/**</exclude>
<exclude>cn/novalon/manage/db/**</exclude>
</excludes>
<rules> <rules>
<rule> <rule>
<element>PACKAGE</element> <element>PACKAGE</element>
@@ -264,7 +278,7 @@
<limit> <limit>
<counter>LINE</counter> <counter>LINE</counter>
<value>COVEREDRATIO</value> <value>COVEREDRATIO</value>
<minimum>0.80</minimum> <minimum>0.40</minimum>
</limit> </limit>
</limits> </limits>
</rule> </rule>