Flutter Test Coverage
LCOV is a graphical tool for GCC coverage testing with gcov. It creates HTML pages containing source code annotated with coverage information by collecting gcov data from multiple source files. LCOV supports "Line Coverage" and "Function Coverage" measurement.
The LCOV report looks as follows:
Installation
Install on Ubuntu
sudo apt-get update -qq -y
sudo apt-get install lcov -y
Install on Mac
brew install lcov
Install on Windows
Continue this article on my personal blog here.