Skip to main content

Library to plot Python code coverage results

Project description

Coverage Plot

codecov Coverage Status Maintainability Documentation Status

A library and a script to plot Python code coverage results.

Getting Started

Run the tests for your project with the test coverage, and convert the coverage results to a JSON or XML format. As a result, you should find a coverage.json or coverage.xml file in your current working directory.

coverage run -m pytest
coverage xml  # or coverage json

Install the package.

pip install coverage-plot

Run the coverage visualization. The script opens the browser with the visualization results.

coverage-plot coverage.xml

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

coverage_plot-0.3.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coverage_plot-0.3.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file coverage_plot-0.3.0.tar.gz.

File metadata

  • Download URL: coverage_plot-0.3.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for coverage_plot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 18976cbdc8db4bfcf5d518e88323d5d5709580cc6fd7862cf4da2cb31232b11b
MD5 3385ff56e00e8792256b4822b19b29d5
BLAKE2b-256 8197d7399819d6c1b3b631aa9f271fd3d70f4f298482722a38892317ce52ac78

See more details on using hashes here.

File details

Details for the file coverage_plot-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: coverage_plot-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for coverage_plot-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44472412e8e58d0f7da40ae5ee5aa0ed7d6e570c2239266aa1fc02c6691ed416
MD5 246d6bca03815d012135bc2ab5162aed
BLAKE2b-256 d1cae03fffaf637eb5f06731e6f144b4df1c961f80492708595f30ab9c6326f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page