Skip to content
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

Add Types for JaCoCo XML object #95

Merged
merged 7 commits into from
Aug 31, 2024
Merged

Add Types for JaCoCo XML object #95

merged 7 commits into from
Aug 31, 2024

Conversation

thsaravana
Copy link
Member

The JaCoCo XML object didn't have any Type information. Instead we basically treated it as any at every point. This was causing a lot of errors in the code.
So now, we will convert the XML to a Report which is Typed properly and we can safely access it. If the XML report itself is faulty, we will throw an error.

PS: There are still places in code, where we are doing calculations that could cause NaN. But I will fix these in another PR. For now, I kept the code as is.

@thsaravana thsaravana self-assigned this Aug 31, 2024
@thsaravana thsaravana merged commit 2dd19a5 into main Aug 31, 2024
1 check passed
@thsaravana thsaravana deleted the jacoco-types branch August 31, 2024 09:29
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