Metadata-Version: 2.1
Name: coverage2img
Version: 0.0.1rc2
Summary: This is a tool for converting coverage.json to image.
Home-page: https://github.com/fwani/CoverageToImg
Author: fwani
Author-email: seungfwani@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: kaleido (==0.2.1)
Requires-Dist: plotly (==5.3.1)
Requires-Dist: pandas (==1.3.3)
Requires-Dist: click (==8.0.3)

# CoverageToImg

## Introduction
To convert from coverage.json - that is made by [coverage](https://pypi.org/project/coverage/) library of pypi - to image

- Example of structure of coverage.json
```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
```bash
coverage2img -i coverage.json -o result.png
```

