Expand JaCoCo exclusion filters for generated code#1697
Merged
Conversation
meladRaouf
force-pushed
the
bugfix/jacoco-filter
branch
from
June 4, 2026 09:09
77c8a22 to
232d144
Compare
luhmirin-s
reviewed
Jun 4, 2026
meladRaouf
force-pushed
the
bugfix/jacoco-filter
branch
2 times, most recently
from
June 4, 2026 09:22
38b8c42 to
8b3f24d
Compare
…ath detection logic
meladRaouf
force-pushed
the
bugfix/jacoco-filter
branch
from
June 4, 2026 10:05
8b3f24d to
5c1456e
Compare
meladRaouf
marked this pull request as ready for review
June 4, 2026 10:05
meladRaouf
requested review from
BurningAXE,
alex-vt,
alexandr-simprints,
Copilot and
luhmirin-s
June 4, 2026 10:05
|
There was a problem hiding this comment.
Pull request overview
This PR updates the simprints.ci.jacoco convention plugin to broaden JaCoCo exclusion filtering (especially for generated code) and to make class-directory discovery more robust across different AGP intermediate output locations, improving CI coverage reporting reliability.
Changes:
- Consolidates JaCoCo exclusion patterns into a single
excludedPatternslist reused by bothJacocoReportclass filtering andJacocoTaskExtensionexcludes. - Expands exclusion patterns to cover additional generated code (Hilt/KSP, Room/KSP, Kotlin synthetic patterns, etc.).
- Refactors class directory collection to scan multiple known compiled-class intermediate paths under
build/.
luhmirin-s
approved these changes
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR fixs the empty JaCoCo reports