Skip to content

Mutation testing counts uncovered code - #19

Merged
rasuvaeff merged 1 commit into
masterfrom
test/mutation-with-uncovered
Nov 1, 2026
Merged

rasuvaeff merged 1 commit into
masterfrom
test/mutation-with-uncovered

Conversation

@rasuvaeff

Copy link
Copy Markdown
Owner

Switches composer mutation to infection --threads=max --with-uncovered with the template mutator settings (PublicVisibility off, default-parameter signature lines ignored).

  • MSI before (with uncovered, template settings): 90% (minMsi 90, no headroom); after: 92.3% (250 of 271 counted mutants killed or timed out), assertions disabled as in CI.
  • Tests added: value/key mismatch, default check interval, sleep saturating at the clock ceiling, chained listener failures, fake clock default, nanosecond reserve rounding.
  • iterate() and FakeTimeSource::__construct() signatures reformatted to multi-line with trailing commas so their default-value mutants are covered by the ignore rule. No behaviour change.
  • Remaining survivors are documented equivalents in infection.json5.

infection --with-uncovered now gates the build; PublicVisibility off and
default-parameter signature lines ignored. Adds tests for value/key
mismatch, default check interval, clock ceiling saturation, chained
listener failures, fake clock default and reserve rounding.
@rasuvaeff rasuvaeff added the enhancement New feature or request label Nov 1, 2026
@rasuvaeff rasuvaeff self-assigned this Nov 1, 2026
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d06f6b4c-9a81-45a4-88c2-9edfe0e289e5
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@rasuvaeff
rasuvaeff merged commit d278f56 into master Nov 1, 2026
11 checks passed
@rasuvaeff
rasuvaeff deleted the test/mutation-with-uncovered branch November 1, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant