summaryrefslogtreecommitdiff
path: root/coverage/jsonreport.py
Commit message (Collapse)AuthorAgeFilesLines
* mypy: add annotate.py and jsonreport.pyNed Batchelder2022-12-311-7/+18
|
* fix: keep negative arc valuesNed Batchelder2022-09-291-1/+1
|
* feat: include branches taken and missed in JSON report. #1425Christoph Blessing2022-09-291-0/+13
| | | | | | | | | | | | | | | | | | | | | 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
* style: parens should indent the same as their opening lineNed Batchelder2022-05-011-1/+1
|
* style: minor cleanups realized while reviewing a pull requestNed Batchelder2022-01-051-2/+3
|
* feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashqNed Batchelder2021-10-261-0/+2
|
* fix: contexts_by_lineno now returns a true dictNed Batchelder2021-10-091-4/+2
|
* refactor: remove globals from NumbersNed Batchelder2021-06-011-1/+1
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-2/+1
|
* feat: percent_covered_display in the JSON reportnedbat/tweak-metacovNed Batchelder2021-03-021-0/+2
|
* New JSON info should be reported on individual files also.Ned Batchelder2020-04-111-0/+2
|
* Extending jsonreport.py to also include all branch attributesSalvatore Zagaria2020-04-071-0/+2
| | | | Signed-off-by: Salvatore Zagaria <salvatore.zagaria@vector.com>
* fix context reporting for relative_filesDavid Szotten2019-12-211-3/+2
| | | | | | fix reporting of contexts when `relative_files = True` fixes #900
* Create a JSON reportMatt Bachmann2019-08-311-0/+100