Repository navigation
test: improve processing flags mutation coverage - #5
Merged
Pissaro007 merged 14 commits intoAug 7, 2026
Merged
Pissaro007 merged 14 commits into
Pissaro007 merged 14 commits into
Conversation
Added tests for ProcessingFlags and its behavior across byte boundaries.
Refactor processingFlags initialization to use a lambda function for flag processing.
This workflow identifies unit tests that cover surviving mutants in the processing_flags.cpp file, compiles the tests, and generates a report on the coverage.
Pissaro007
merged commit Aug 7, 2026
b9428ef
into
quality/mull-mutation-testing-poc
10 checks passed
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.
Summary
This PR improves mutation coverage for
processing_flags.cppby strengthening the existingGuidanceTest.GuidanceMessagestest.Changes
Mutation testing results
Remaining equivalent mutants
processing_flags.cpp:22:52Replaced
/with*(cxx_div_to_mul)This mutation increases the allocated buffer size without changing observable behavior.
processing_flags.cpp:49:32Replaced
<with<=(cxx_lt_to_le)The additional iteration checks bit 8 of an 8-bit value and cannot trigger an additional callback.
Validation
The existing test suite and Mull mutation campaign pass with four additional mutants killed.
Target branch
quality/mull-mutation-testing-poc