I try to use lcov for flutter project in Ubuntu 20.04.
Firstly i run flutter test --coverage
, then genhtml coverage/lcov.info -o coverage/html
.
But finally only small part of files is mentioned in report. There are no entire subdirectory such as logic
, ui
, etc, where code is placed too. And even if directory is processed for example named domain
it processed partially.