A browser-based tool for viewing LCOV code coverage reports in an intuitive interface.
See online LCOV viewer at kunalshah.github.io/lcov-viewer
LCOV Viewer is mobile friendly but view it on Desktop for the best experience.
Tools like Bun and Flutter generate code coverage reports in LCOV format, which is great for machines but difficult for humans to read.
This viewer transforms the LCOV code coverage report into an easy-to-navigate, intuitive visual interface.
With this HTML viewer, LCOV report can be viewed in a Tree View, or a
List view.
-
In the
Tree View, report is organized in a tree format to easily see code coverage by folder(s). -
In the
List View, you can sort code coverage byName, byHigh to Low Coverage, byLow to High Coverage, and byTotal Lines
Visit kunalshah.github.io/lcov-viewer and upload your LCOV file directly in your browser.
No installation or setup required!
Your code coverage report stays completely in your browser.
Download
index.html
or clone this repository and open
index.html in your browser or serve through a static file server like nginx.
The entire viewer is contained in a single HTML file, so it works completely offline.
- β¨ No dependencies β Everything runs in your browser
- π Privacy-friendly β Your coverage data never leaves your machine
- π¦ Self-contained β Just one HTML file
- π¨ Clean interface β Easy to navigate and understand your coverage
This project is free to use for any purpose. No attribution required. Enjoy!