diff options
author | Christoph Blessing <33834216+cblessing24@users.noreply.github.com> | 2022-08-18 12:58:29 +0200 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-09-29 06:34:58 -0400 |
commit | aabc54031a673e2f789620a993a90197a36f0e95 (patch) | |
tree | 7ea56e32eada3119894d249b31a5142e0a47c1ec /coverage/version.py | |
parent | a59fc4485df1191a8efaeae92e780e9f0710484e (diff) | |
download | python-coveragepy-git-aabc54031a673e2f789620a993a90197a36f0e95.tar.gz |
feat: include branches taken and missed in JSON report. #1425
Added more branches to the code whose coverage is checked.
Add branch details to json report
The json report now includes for each branch which branches have been
executed, missed and what the percentage of covered branches was.
Add exiting branch arc to json report test
Update branch details format
Executed and missing branch arcs are stored in the fields named
'executed_branches' and 'missing_branches' respectively. Both fields
contain a list of two element lists. The first element represents the
source line number and the second one the target line number. Exit
branches have their target line number set to 0.
Fix linting errors
Diffstat (limited to 'coverage/version.py')
0 files changed, 0 insertions, 0 deletions