Skip to content

Cover remaining uncovered Infection mutants#20

Merged
vitormattos merged 5 commits into
mainfrom
fix/infection-uncovered-main
May 30, 2026
Merged

Cover remaining uncovered Infection mutants#20
vitormattos merged 5 commits into
mainfrom
fix/infection-uncovered-main

Conversation

@vitormattos
Copy link
Copy Markdown
Member

Summary

  • add regression tests for the remaining uncovered failure paths in the filesystem image reader and PNG pipeline
  • add a small test-only PNG namespace override helper to exercise unpack() and gzcompress() failure branches deterministically
  • load the helper through autoload-dev so the overrides are available before test execution

Verification

  • focused PHPUnit run for the touched tests
  • composer phpmd && composer lint
  • full Infection run with build/infection-local.json5

Result

  • 1595/1595 mutants killed
  • 0 uncovered mutants
  • MSI 100%
  • Mutation Code Coverage 100%
  • Covered Code MSI 100%

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos merged commit f26ec41 into main May 30, 2026
24 checks passed
@vitormattos vitormattos deleted the fix/infection-uncovered-main branch June 1, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant