Skip to content

Improve meaningful core coverage and enforce its floor#38

Merged
PrimeBuild-pc merged 2 commits into
mainfrom
test/improve-core-coverage
Jul 12, 2026
Merged

Improve meaningful core coverage and enforce its floor#38
PrimeBuild-pc merged 2 commits into
mainfrom
test/improve-core-coverage

Conversation

@PrimeBuild-pc

Copy link
Copy Markdown
Owner

Summary

  • add focused lifecycle coverage for LogFileManager: initialization, structured writes, filtering/order, statistics, export, rotation, retention, and max-file cleanup
  • fix the lock re-entry deadlock exposed by the new statistics test
  • replace the ineffective 1.5% line-coverage floor with a realistic 35% regression gate

Coverage

Local Release coverage using the same Coverlet settings as CI:

Metric Before After
Line coverage 36.04% 37.07%
Branch coverage 30.42% 31.30%
Covered lines 6,428 6,612

No production files were excluded to improve the percentage. The added tests target durable logging behavior rather than generated WPF or Windows-wrapper lines.

Validation

  • Release build: 0 warnings, 0 errors
  • 584/584 tests passed
  • changed-file formatter verification passed

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@PrimeBuild-pc PrimeBuild-pc merged commit 0c7b298 into main Jul 12, 2026
3 checks passed
@PrimeBuild-pc PrimeBuild-pc deleted the test/improve-core-coverage branch July 12, 2026 11:43
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.

2 participants