'lcov for flutter sees just part of files

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.

Here is file tree of project Repost contains only small part of files



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source