Skip to content

Conversation

@cpelley
Copy link
Contributor

@cpelley cpelley commented Jan 29, 2026

Avoid the scenario of a false positive reduction in percentage cover as a result of a reduction in number of lines but the number of uncovered lines has not changed. This change is to check only the number of missing lines (absolute quantity), rather than the percentage (relative quantity).

@cpelley cpelley self-assigned this Jan 29, 2026
@cpelley cpelley added the test label Jan 29, 2026
Copy link
Member

@MoseleyS MoseleyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple change. I suggest we get feedback from the team as to what we should test, in case there are better ideas.

@cpelley
Copy link
Contributor Author

cpelley commented Jan 29, 2026

Opted for communicating how this works.
On the TODO to reintroduce the PR comment and coverage report publishing.

@cpelley cpelley closed this Jan 29, 2026
@cpelley cpelley deleted the code-coverage-check-only-number-of-missed-lines branch January 29, 2026 10:17
@cpelley cpelley restored the code-coverage-check-only-number-of-missed-lines branch January 30, 2026 06:02
@cpelley cpelley reopened this Jan 30, 2026
Copy link
Contributor

@mo-robert-purvis mo-robert-purvis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@cpelley cpelley merged commit 21ea78d into master Jan 30, 2026
7 checks passed
@cpelley cpelley deleted the code-coverage-check-only-number-of-missed-lines branch January 30, 2026 14:44
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.

4 participants