Closed okkays closed 3 years ago
Perfect! Definitely what I was looking for; thanks for taking the time to be thorough!
I'll finish things up sporadically over the next couple of days. I'll let you know when it's ready for another pass.
comments addressed!
All set. Merging!
lcov is a graphical front end for gcov.
By having lcov support, we can achieve gcov support by running gcov's binary gcda files through lcov's
geninfo
. There are other applications (such as bazel) that produce lcov-style reports without the use of lcov or gcov directly, so lcov support seems to get us the broadest support with the least lift.This plugin looks for coverage data in a configured set of directories (by default,
'.'
) for a set of file patterns (by default,['*.gcda.info', 'coverage.dat', and '_coverage_report.dat']
) containing that lcov geninfo data. It builds a list of coverage reports (in the format ofcoverage#CreateReport
) based on the files it finds. Thegeninfo
format itself is relatively straightforward; the plugin just needs to:I'm still relatively new to writing "good" vimscript, so any comments/nits on best practices definitely welcome!
Thanks for taking a look!