emilydolson / emilydolson/force-cover

Allow fix_coverage.py to work on gcov output too

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
19
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The format for gcov output is described in the [llvm-cov documentation](https://llvm.org/docs/CommandGuide/llvm-cov.html#id2) (last line of the description for `llvm-cov gcov`). It shouldn't be too challenging to adjust fix_coverage.py to detect this format and replace `-`s with `####`s on templated lines.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read fix_coverage.py and the linked llvm-cov gcov format description first. Identify how templated lines are currently recognized, then support gcov output by detecting its format and replacing '-' with '####' on templated lines. Done means gcov reports are handled without regressing existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
testing, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.