If I have two packages in my workspace, one defining a class with implementation details in a header file and the other including that header file
my_ws
- src
- package_a
- package_a.h
- package_b
- package_b.cpp (includes package_a/package_a.h)
Package_b picks up the package_a.h header from the workspace install directory. The .gcda file associated with package_b.cpp will refer to my_ws/install/package_a/package_a.h
However, any coverage data for files listed in the install directories is getting filtered out of the lcov-results. Only files in build and src have their data reported.
As a result, if package_a.h is only executed by cpp files in other packages, no coverage data is reported.
If I have two packages in my workspace, one defining a class with implementation details in a header file and the other including that header file
Package_b picks up the package_a.h header from the workspace
installdirectory. The .gcda file associated withpackage_b.cppwill refer tomy_ws/install/package_a/package_a.hHowever, any coverage data for files listed in the
installdirectories is getting filtered out of the lcov-results. Only files inbuildandsrchave their data reported.As a result, if
package_a.his only executed by cpp files in other packages, no coverage data is reported.