gcovparse

gcov to json


Keywords
coverage
License
MIT-feh
Install
pip install gcovparse==0.0.2

Documentation

gcov-parse Build Status codecov.io

pip install gcovparse
from gcovparse import gcovparse

report = gcovparse("<gcov raw-file-chunk>")

Example Report

[
  {
    "name": "file/name.c",
    "test": "Test 1",
    "lines": [
      {
        "line": 256,
        "hit": 10
      }
    ]
  }
]

References