Commit b1d28c4
fix: handle NOT_FOUND coverage status in Java multi-module projects
- Update coverage_critic to skip coverage check when CoverageStatus.NOT_FOUND
is returned (e.g., when JaCoCo report doesn't exist in multi-module projects
where the test module has no source classes)
- Add JaCoCo configuration to include all class files for multi-module support
This fixes "threshold for test confidence was not met" errors that occurred
even when all tests passed, because JaCoCo couldn't generate coverage reports
for test modules without source classes.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent ee06331 commit b1d28c4
2 files changed
Lines changed: 20 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
| 709 | + | |
| 710 | + | |
709 | 711 | | |
710 | 712 | | |
711 | 713 | | |
| |||
724 | 726 | | |
725 | 727 | | |
726 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
727 | 735 | | |
728 | 736 | | |
729 | 737 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
210 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
211 | 214 | | |
212 | | - | |
213 | | - | |
214 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
215 | 220 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
0 commit comments