mapbox / mapbox/node-cpp-skel

Odd code coverage results

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

Description

I noticed that the code coverage reports show high coverage (green lines) as expected, but the "line counts" (green circles on the left) only show that the covered lines are being hit once.

Notice the `1` listed to the left of each line at https://codecov.io/gh/mapbox/node-cpp-skel/src/2f10df1135afe898abc43200e2e8324fe6a52af9/src/object_async/hello_async.cpp

Normally I would expect the line counts to be varied and much higher. So, I wonder if this regressed in codecov or whether this regressed due to a change we made?

Contributor guide

Open the contributing guide

Research direction

Start with the Codecov report for src/object_async/hello_async.cpp and verify whether the repeated line counts are present in the report data or only in its display. Then inspect the repository's coverage setup and relevant recent changes. Done means identifying whether the regression is in Codecov or this project and documenting or fixing the cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.