Skip to main content

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


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 details)

Uploaded Source

Built Distribution

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

coverage2img-0.0.1rc2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file coverage2img-0.0.1rc2.tar.gz.

File metadata

  • Download URL: coverage2img-0.0.1rc2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for coverage2img-0.0.1rc2.tar.gz
Algorithm Hash digest
SHA256 a8691884586dd5b7410dce69ec850d0c22eafe605a76cafde94f988a123f019f
MD5 bfa0253104ab084bd631a39315837965
BLAKE2b-256 413fb7cbf9e1f7666b407f7fa387524f1320a1d959c4ff1e474129c1b9930c2f

See more details on using hashes here.

File details

Details for the file coverage2img-0.0.1rc2-py3-none-any.whl.

File metadata

  • Download URL: coverage2img-0.0.1rc2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for coverage2img-0.0.1rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e5a16941e0f34fc153ae2c26eaa308952daaf0a29f1d42dd855995f141a028f
MD5 9190d1afc1205811255395422ac5aa3e
BLAKE2b-256 0ae24bd96f3d1a60d39cb206d69cc51913f21c4464249b6e100fd4bece70c31a

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