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 covered lines in json report. #325

Merged
merged 1 commit into from Feb 22, 2023
Merged

Conversation

ZSmallX
Copy link
Contributor

@ZSmallX ZSmallX commented Feb 21, 2023

measured lines = covered lines + violation lines.

total lines = measured lines + unmeasured lines.

In this case, it's able to get all the changed, measured, covered, violation and unmeasured lines based on json report.

Closes #323

measured lines = covered lines + violation lines.

total lines = measured lines + unmeasured lines.

Signed-off-by: ZSmallX <diosmallx@gmail.com>
@ZSmallX
Copy link
Contributor Author

ZSmallX commented Feb 21, 2023

@Bachmann1234 Would appreciate that if you can help to review this.

@Bachmann1234 Bachmann1234 merged commit 95e7f0e into Bachmann1234:main Feb 22, 2023
@Bachmann1234
Copy link
Owner

Looks good to me, thanks for the PR. Lets get this out

@Bachmann1234
Copy link
Owner

@ZSmallX https://pypi.org/project/diff-cover/7.5.0/ try it out! Thanks again!

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.

any ways to get all measured lines' numbers from json report
2 participants