Skip to content

Cover the last two lines of --compare - #465

Merged
lefticus merged 1 commit into
cpp-best-practices:mainfrom
leftibot:compare-coverage
Nov 29, 2026
Merged

lefticus merged 1 commit into
cpp-best-practices:mainfrom
leftibot:compare-coverage

Conversation

@leftibot

Copy link
Copy Markdown
Collaborator

Follow-up to #461: codecov/patch flagged two lines of project_validator/comparison.py that no test reached. This adds the two tests:

  • a new slot that comes filled (new code with its gate) is neither a regression nor a gain;
  • a cell in the earlier score's JSON that isn't an object is skipped.

comparison.py is now at 100% line and branch coverage. No product code changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

@codecov

codecov Bot commented Nov 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.48%. Comparing base (3676e10) to head (180774b).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #465      +/-   ##
==========================================
+ Coverage   99.47%   99.48%   +0.01%     
==========================================
  Files         368      369       +1     
  Lines       26045    26200     +155     
  Branches     3239     3263      +24     
==========================================
+ Hits        25908    26065     +157     
+ Misses        137      135       -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lefticus
lefticus merged commit 9440220 into cpp-best-practices:main Nov 29, 2026
32 checks passed
@lefticus
lefticus deleted the compare-coverage branch November 29, 2026 17:03
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