https://github.com/sorgom/covbr2html
tool to improve bullseye covbr -u output
https://github.com/sorgom/covbr2html
bullseye code-coverage code-coverage-html cplusplus cpp cpp17 premake5 python regex
Last synced: 1 day ago
JSON representation
tool to improve bullseye covbr -u output
- Host: GitHub
- URL: https://github.com/sorgom/covbr2html
- Owner: sorgom
- Created: 2024-10-29T09:30:14.000Z (over 1 year ago)
- Default Branch: dev
- Last Pushed: 2025-03-26T11:08:32.000Z (about 1 year ago)
- Last Synced: 2025-05-14T14:47:46.757Z (12 months ago)
- Topics: bullseye, code-coverage, code-coverage-html, cplusplus, cpp, cpp17, premake5, python, regex
- Language: Makefile
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Support: support/gen_files.py
Awesome Lists containing this project
README
# covbr2html
## covbr
Bullseye code coverage provides a great tool: **covbr**.
```shell
$>covbr -h
BullseyeCoverage Detail Report 9.11.3 Windows License 123456
Copyright (c) Bullseye Testing Technology
Usage: covbr [options] [region ...]
Show low-level coverage measurements with annotated source code
...
-cN --context N Show N source lines before or after a probe [N=3]
...
-u --uncover Suppress fully covered probes (with -c)
...
--html Output in HTML format
```
## -u option
With the **-u** option we get a listing of all uncovered parts of all sources concerned.
- see [small sample](sample_outputs/covbr_sample_tiny.txt)
## desired enhancement
Currently the tool needs improvements:
- It reports all files - regardless if containing uncovered bits.
- see [big sample](sample_outputs/covbr_sample_big.txt)
- output of fully covered files should be optional
- Compared to the nicely highlighted coverage browser or covhtml output
the generated texts are not really comfortable to read.
- The **--html** option delivers just the same plain text wrapped in a pre.
## meanwhile: covbr2html
**covbr2html** improves on this:
- removes fully covered files from listing
- generates real highlighted stand-alone html
## C++ / Python
- build stand-alone binaries from C++ code
- see [make folder](make)
- use covbr2html.py at the [sompy repo](https://github.com/sorgom/sompy/tree/dev/covbr2html)