question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot visualize lcov coverage data

See original GitHub issue

The flutter test --coverage command produces an coverage/lcov.info file that contains information about the line coverage of your tests. We should be able to visualize that information in IntelliJ.

  1. When editing a file, you should be able to see whether a line was (a) executed in a test, (b) possible to execute but not actually executed, © not actually possible to execute. (All this data is in the lcov file.)

  2. There should be some sort of overview panel that lists the various files in the project and what percent line coverage they have. Also, there should be an overall readout for the percent coverage of the whole project.

For example, the lcov-info plugin does this for Atom. It’s likely that such a plugin already exists for IntelliJ. We might simply need to find it and recommend.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:100
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
yulkin2002commented, Dec 11, 2020

is there any update on on a coverage visualization plugin for Flutter?

6reactions
tvolkertcommented, May 26, 2019

/cc @devoncarew

Running into this while trying to visualize coverage in a pending PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot get coverage data from LCOV files - Sonar Community
I have a monorepo project successfully being scanned for static analysis in SQ. Please note, all sub-projects live in the projects folder, but ......
Read more >
Cannot generate coverage report using lcov - Stack Overflow
lcov will generate code coverage output even when the source code cannot be found, based solely on the data found in . gcda...
Read more >
LCOV Code Coverage - The Document Foundation Wiki
This short tutorial aims to describe how to generate lcov reports. ... determine the base-directories when collecting coverage data.
Read more >
Linux Test Project - Coverage » lcov - SourceForge
lcov is a graphical front-end for GCC's coverage testing tool gcov. It collects line, function and branch coverage data for multiple source ...
Read more >
genhtml - Generate HTML view from LCOV coverage data files
-q --quiet Do not print progress messages. Suppresses all informational progress output. When this switch is enabled, only error or warning messages are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found