Add codecov.yml to exclude generated FIX fields and messages from coverage - #1287
Merged
Conversation
Copilot created this pull request from a session on behalf of
chrjohn
July 26, 2026 20:55
View session
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1287 +/- ##
============================================
+ Coverage 70.27% 70.36% +0.08%
+ Complexity 2243 2242 -1
============================================
Files 163 159 -4
Lines 9076 9056 -20
Branches 1192 1192
============================================
- Hits 6378 6372 -6
+ Misses 2235 2220 -15
- Partials 463 464 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
chrjohn
marked this pull request as ready for review
July 27, 2026 06:22
codecov.yml to exclude generated FIX fields and messages from coverage
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.
Codecov was attributing JaCoCo coverage data to the golden test resource
.javafiles (e.g.quickfixj-messages/quickfixj-messages-fixlatest/src/test/resources/golden/fixlatest/quickfix/field/) because they share the same package structure as the generated sources — distorting coverage metrics with machine-generated code.Changes
codecov.yml(new, repo root): adds two ignore globs:quickfixj-messages/*/src/test/resources/golden/**— excludes the golden-file.javatemplates (generated FIX field/message source used only for golden-file comparison tests)**/target/generated-sources/**— excludes any generated FIX source Maven places undertarget/generated-sources/quickfix/at build time