Skip to content

Mutation testing counts uncovered code - #29

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.

  • Overall MSI before (with uncovered, template settings): 99% (1 Not Covered of 255; minMsi 100); after: 100% (assertions disabled as in CI; 5 mutants Timed Out, counted as killed).
  • Test added: the docblock splitter failing (preg_split returning false, forced by evicting the PCRE cache and disabling JIT with a backtrack limit of 1), which asserts a null result and no warning.
  • No src/ changes.
  • Local composer rector flags two untouched test files (dirname(__DIR__) concatenation, PHP 8.5 vs 8.4); unrelated, left alone.

infection --with-uncovered now gates the build; PublicVisibility off and
default-parameter signature lines ignored. Adds a unit test for the
docblock splitter failing.
@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: 40fb8d1b-2829-4e4a-9bf6-203c207591d0
  • 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 24f066c into master Nov 1, 2026
11 checks passed
@rasuvaeff
rasuvaeff deleted the test/mutation-with-uncovered branch November 1, 2026 18:35
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