-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix regression on Jacoco coverage & Corbertura #264
Fix regression on Jacoco coverage & Corbertura #264
Conversation
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Code Suggestions ✨Explore these optional code suggestions:
|
Here is the integration tests -> https://github.com/coderustic/cover-agent/actions/runs/12728121454 |
This reverts commit f46980f.
* Revert "Fix regression on Jacoco coverage & Corbertura (#264)" This reverts commit f46980f. * Revert "Removing bad reference to self.last_coverage_percentages causing necessary failure logs (#262)" This reverts commit 1b1a9ad. * Revert "Refactored coverage processor in to class hierarchy (#230)" This reverts commit 3496069. * Incrementing version.
User description
During refactoring of coverage processing, there were
few regressions that were unintentional, this PR is to
fix them by brining the overwritten changes back.
On Jacoco add support for Kotlin and change to use
mi & nr.
On Corbertura, merge coverage by file name if the report
contains multiple references by file name
PR Type
Bug fix, Tests
Description
Fixed regression in Jacoco and Cobertura coverage processing.
Added support for Kotlin in Jacoco coverage reports.
Enhanced merging of Cobertura coverage by file name.
Updated tests to validate new coverage processing logic.
Changes walkthrough 📝
processor.py
Fix and enhance coverage processing logic
cover_agent/coverage/processor.py
_merge_coverage_data
method for Cobertura.test_processor.py
Update and add tests for coverage processing
tests/coverage/test_processor.py