This is a tool for converting coverage.json to image.
Project description
CoverageToImg
Introduction
To convert from coverage.json - that is made by coverage library of pypi - to image
- Example of structure of coverage.json
{
"meta": {
"version": "6.0.2",
"timestamp": "2021-10-15T10:56:02.804556",
"branch_coverage": false,
"show_contexts": false
}
"files": {
"path/file_name.py": {
"executed_lines": [],
"summary": {
"covered_lines": 0,
"num_statements": 0,
"percent_covered": 100.0,
"percent_covered_display": "100",
"missing_lines": 0,
"excluded_lines": 0
},
"missing_lines": [],
"excluded_lines": []
},
...
}
"totals": {
"covered_lines": 100,
"num_statements": 200,
"percent_covered": 80.0,
"percent_covered_display": "80",
"missing_lines": 19,
"excluded_lines": 1,
}
}
Example
- coverage.json -> png
coverage2img -i coverage.json -o result.png
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coverage2img-0.0.1rc2.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for coverage2img-0.0.1rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e5a16941e0f34fc153ae2c26eaa308952daaf0a29f1d42dd855995f141a028f |
|
MD5 | 9190d1afc1205811255395422ac5aa3e |
|
BLAKE2b-256 | 0ae24bd96f3d1a60d39cb206d69cc51913f21c4464249b6e100fd4bece70c31a |