Skip to content

test: increase coverage and quality#160

Merged
feO2x merged 1 commit into
mainfrom
160-improve-test-quality
Jul 15, 2026
Merged

test: increase coverage and quality#160
feO2x merged 1 commit into
mainfrom
160-improve-test-quality

Conversation

@feO2x

@feO2x feO2x commented Jul 15, 2026

Copy link
Copy Markdown
Owner

This PR increases code coverage and code quality of the Light.GuardClauses.Tests project.

Coverage: 89.27% → 93.74% line (86.26% → 92.53% branch)

That 93.74% is the effective 100%: every reachable line of Light.GuardClauses is now covered. True 100% is impossible without changing production code, because 293 of the remaining uncovered lines are structurally unreachable: 285 closing braces after calls to Throw.* helpers — these helpers are [DoesNotReturn], so the sequence point on the brace can never execute.

Signed-off-by: Kenny Pflug <kenny.pflug@live.de>
@feO2x feO2x self-assigned this Jul 15, 2026
@feO2x feO2x added the chore label Jul 15, 2026
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Light.GuardClauses 98% 91% 2388
Light.GuardClauses.InternalRoslynAnalyzers 96% 86% 52
Light.GuardClauses.InternalRoslynAnalyzers.CodeFixes 95% 100% 8
Light.GuardClauses.SourceCodeTransformation 92% 83% 665
Summary 96% (4582 / 4772) 89% (2514 / 2811) 3113

@feO2x feO2x merged commit 354222c into main Jul 15, 2026
2 checks passed
@feO2x feO2x deleted the 160-improve-test-quality branch July 15, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant