This repository was archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
Add Modified Files Coverage and Checks Publisher #556
Merged
uhafner
merged 25 commits into
jenkinsci:coerage-model
from
fo-code:file-change-coverage
Mar 8, 2023
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
fe45ac2
Add Modified Files Coverage and GitHub Checks API
fo-code 5686bea
Add Modified Files Coverage and GitHub Checks API
fo-code 444c8ca
Merge branch 'file-change-coverage' of https://github.com/fo-code/cod…
fo-code bf9b3a5
Rename Change Coverage to Modified Lines Coverage an fix tests
fo-code 42a5ee9
Renaming of changes.
uhafner c35c60a
Fix checks publisher tests
fo-code eb78397
Add a toggle to show only changed files in absolute coverage table.
uhafner 14f40ac
Merge branch 'coverage-model' into file-change-coverage
uhafner 24c9815
Merge with latest renames in coverage model.
uhafner f727183
Fix typo.
uhafner 8c97776
Fix typo.
uhafner 8719661
Fix typo.
uhafner 9c05d7a
Remove @since
uhafner 5709d5c
Remove @since
uhafner 96b4228
Do not create tree nodes that do not have a value attached.
uhafner 7eb5c4f
Add incremental versions of dependencies.
uhafner cacc7df
Add incremental version of forensics-plugin.
uhafner 495ece7
Fix for review comments
fo-code 1a6c504
Use latest incremental version of plugin-util.
uhafner f41892d
Add customization options for checks.
uhafner af27993
Add different types of single lines.
uhafner afb110e
Bump version of coverage-model to 0.15.0.
uhafner d7f922e
Delete unused table model.
uhafner 5b483c4
Simplify assertions.
uhafner 377d093
Add test for ALL_LINES.
uhafner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While looking at the results I think I made a mistake here. When I am developing a PR normally I am interested in the coverage of my changes.
That means we need the totals (this is already working correctly):
But when looking at the delta we need:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that makes sense.
Regarding the delta changed lines: I guess we should compare only against the modified files coverage. The whole project has modules with higher and with lower coverage. When we compare the changes of a module with lower coverage against the whole project, there will be a negative trend, even if the modified files are covered quiet good compared to the rest of their module. Therefore, comparing against the changed files would keep the context hence it more accurate, in my opinion.