Python package to generate plots from coverage report
Project description
=============
plot_coverage
=============
.. image:: https://img.shields.io/pypi/v/plot_coverage.svg
:target: https://pypi.python.org/pypi/plot_coverage
.. image:: https://img.shields.io/travis/modasserbillah/plot_coverage.svg
:target: https://travis-ci.com/modasserbillah/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`
Example
-------
Treemap
========
.. image:: treemap.png
:alt: Treemap of coverage report
:class: with-shadow
:scale: 50
Sunburst
=========
.. image:: sunburst.png
:alt: Sunburst of coverage report
:class: with-shadow
:scale: 50
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.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
* Free software: BSD license
=======
History
=======
1.0.0 (2020-06-25)
------------------
* First release on PyPI.
plot_coverage
=============
.. image:: https://img.shields.io/pypi/v/plot_coverage.svg
:target: https://pypi.python.org/pypi/plot_coverage
.. image:: https://img.shields.io/travis/modasserbillah/plot_coverage.svg
:target: https://travis-ci.com/modasserbillah/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`
Example
-------
Treemap
========
.. image:: treemap.png
:alt: Treemap of coverage report
:class: with-shadow
:scale: 50
Sunburst
=========
.. image:: sunburst.png
:alt: Sunburst of coverage report
:class: with-shadow
:scale: 50
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.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
* Free software: BSD license
=======
History
=======
1.0.0 (2020-06-25)
------------------
* First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plot_coverage-1.0.1.tar.gz
(12.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plot_coverage-1.0.1.tar.gz.
File metadata
- Download URL: plot_coverage-1.0.1.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
037eabf6d007a83fe725206bcbfcaca57311bcb8903929fc437139dcfa7c8b39
|
|
| MD5 |
700a2840d8670ab1f65c2f1150470d03
|
|
| BLAKE2b-256 |
31e7debbb50db2b6bde842865bc413fd8f901ecfbeca59e35fa8d7c2b3623521
|
File details
Details for the file plot_coverage-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: plot_coverage-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d83eef02bf602183ce1f7d85e5b48eeb9e2c761fc6b2c1099e1bceaf3fbb63
|
|
| MD5 |
c159cd89d7d1c7c56a2add269d758249
|
|
| BLAKE2b-256 |
9617ff211d2737715c3c4ef43072a90844b56aff31964dc6135dfc9d4f194142
|