plot_coverage
Python package to generate plots from coverage report
Generate visual plots to demonstrate your code coverage. Interactive plots are opened in the browser immediately after running the script. HTML files for the plots are stored alongside the coverage report inside htmlcov folder.
Plots are generated using plotly express.
Usage
Install using pip install plot-coverage
- From the project root (where htmlcov folder is located), run:
plot_coverage –plot=treemap
plot_coverage –plot=sunburst
Note: Make sure htmlcov/index.html is present at the root of your project before running the above. So, coverage html should be run before attempting this.
Example
Treemap
Sunburst
Features
Generate Treemap plot for showing your coverage report with color sequence based on coverage percentage.
Generate Sunburst plot for showing your coverage report with color sequence based on coverage percentage.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Free software: BSD license
History
1.0.0 (2020-06-25)
First release on PyPI.
Metadata
Release files for plot-coverage 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plot_coverage-1.0.2.tar.gz | 12.8 kB | Without provenance | Details for plot_coverage-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plot_coverage-1.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for plot_coverage-1.0.2-py2.py3-none-any.whl |
Total release size: 18.1 kB
Release files / plot_coverage-1.0.2.tar.gz
| Download URL | plot_coverage-1.0.2.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a63415e3cbe488d9391ed283e6f88093a61ff66fd6be94c00aafe86718bfa46e
|
|
BLAKE2b-256 checksum How to use checksums |
22b3c502d23c96644d5230dd641bc739588bb6d816c59bf5b85e6f359551c0be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0
|
Release files / plot_coverage-1.0.2-py2.py3-none-any.whl
| Download URL | plot_coverage-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
83bd830d8dbd36f24b103d1435007bd2e457b892cbbe8597a539b2214a0a6b48
|
|
BLAKE2b-256 checksum How to use checksums |
efbbaa51a67acf1bc9d0ad12d105d4bf2c53cd9fea128d0aa7098831a888c896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0
|
Security for plot-coverage 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.