Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve mutation score#2506

Merged
martincostello merged 14 commits into
mainfrom
moar-moar-mutants
Feb 16, 2025
Merged

Improve mutation score#2506
martincostello merged 14 commits into
mainfrom
moar-moar-mutants

Conversation

@martincostello

@martincostello martincostello commented Feb 16, 2025

Copy link
Copy Markdown
Member
  • Kill more mutants.
  • Increase coverage.
  • Remove dead code.
  • Fix formatting.
  • Reduce lambda allocations.

- Kill more mutants.
- Increase coverage.
- Remove dead code.
@martincostello martincostello added enhancement CI/build .NET Pull requests that update .NET code labels Feb 16, 2025
Fix IDE2000 warning.
@codecov

codecov Bot commented Feb 16, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 95.20548% with 7 lines in your changes missing coverage. Please review.

Project coverage is 90.76%. Comparing base (1f232ca) to head (83cf47f).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/Polly/Retry/RetryTResultSyntax.cs 40.00% 6 Missing ⚠️
src/Polly/Retry/AsyncRetrySyntax.cs 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2506      +/-   ##
==========================================
+ Coverage   86.42%   90.76%   +4.34%     
==========================================
  Files         312      311       -1     
  Lines        7468     7484      +16     
  Branches     1091     1070      -21     
==========================================
+ Hits         6454     6793     +339     
+ Misses        852      543     -309     
+ Partials      162      148      -14     
Flag Coverage Δ
linux 90.76% <95.20%> (+4.34%) ⬆️
macos 90.76% <95.20%> (+4.34%) ⬆️
windows 90.74% <95.20%> (+4.35%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

- Kill more mutants.
- Add more coverage.
- Fix IDE suggestion.
- Fix formatting.
Fix S3257 warning.
- Kill more mutants.
- Increase coverage.
- Simplify syntax.
- Fix formatting.
- Reduce lambda allocations.
- Kill more mutations.
- Increase mutation score.
- Simplify syntax.
Kill more surviving mutants.
Add missing coverage for CacheAsync<T>.
- Add more test coverage.
- Reduce delegate allocations.
- Add more test coverage.
- Avoid allocating delegates.
- Increase minimum coverage for Polly.
- Increase minimum mutation score.
Kill more mutants.
- Kill more mutants.
- Avoid delegate allocations.
Increase minimum mutations score to 97.
This was referenced Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/build enhancement .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant