You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The code coverage information does not load for this one file in a project I'm working on, it renders correctly for the rest. Thankfully it's open sourced though so it's easy to reproduce.
The file is covered by tests.
The information for the source file is present in lcov.info
There are no errors for this extension in the console
To Reproduce
Steps to reproduce the behaviour:
git clone https://github.com/davidjrice/autopytest.git
make deps
make test
The coverage information should be generated to .coverage/lcov.info
Expected behaviour
Coverage information should be shown for the file autopytest/autotest.py
UPDATE: I have managed to track it down to one of the specific lines in the lcov output. Line 82. If I delete that, the coverage gutter renders correctly.
Interesting finding on the branch coverage above... I wonder if the lcov library is missing some considerations for this.
The library we use is quick old as well, there might be better options nowadays. https://github.com/davglass/lcov-parse
Describe the bug
The code coverage information does not load for this one file in a project I'm working on, it renders correctly for the rest. Thankfully it's open sourced though so it's easy to reproduce.
lcov.info
To Reproduce
Steps to reproduce the behaviour:
git clone https://github.com/davidjrice/autopytest.git make deps make test
The coverage information should be generated to
.coverage/lcov.info
Expected behaviour
Coverage information should be shown for the file
autopytest/autotest.py
Desktop:
13.1
2.11.0
1.84.0
Additional context
3.12.0
7.3.2
I've attached a sample of the
lcov.info
dump from my project for the version @ davidjrice/autopytest#7c927c9UPDATE: I have managed to track it down to one of the specific lines in the lcov output. Line 82. If I delete that, the coverage gutter renders correctly.
lcov.info
The text was updated successfully, but these errors were encountered: