All apps/LCOV

LCOV

lcov

LCOV is a graphical front-end for GCC's coverage testing tool gcov.

Runs as lcov, genhtml, geninfo|macOS, Linux, Windows|github.com

Command form

ai-draft · 3 tasks · 13 fields

Capture, add together, extract from, remove from, or summarize lcov tracefiles. genhtml and geninfo are separate programs and are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui lcov
Capture coverage with lcovExample values, fixed in this page — nothing here reaches a terminal
Basic
Capture coverage data set by task
--capture
Directory to capture from*
directory
Output tracefile*
file
Advanced
Base directory
directory
Test name
string
Branch coverage
--branch-coverage
TasksEach one presets the form for one job
Capture coverage to a tracefile
capturedirectorybase_directorytest_nameoutput_filebranch_coverage
Merge tracefiles
add_tracefileoutput_filebranch_coverage
Summarize a tracefile
summary
ParametersOnly these flags are editable in the form
Capture coverage data
boolean
--capture-c
Directory to capture from
Directory holding the .gcda/.gcno files of a user space program.
path
--directory-d
Base directory
path
--base-directory-b
Add tracefile
Combine execution counts from this tracefile; repeat for several.
path · repeatable
--add-tracefile-a
Reset counters
boolean
--zerocounters-z
Summarize tracefile
path
--summary
Test name
string
--test-name-t
Output tracefile
path
--output-file-o
Branch coverage
boolean
--branch-coverage
Exclude pattern
string · repeatable
--exclude
Ignore errors
string
--ignore-errors
Quiet
boolean
--quiet-q
Verbose
boolean
--verbose-v
SourcesEvery flag above is checked against these
man
-a tracefile_patterns --add-tracefile -c --capture -d directory --directory directory -b directory --base-directory --branch-coverage -e tracefile pattern --extract tracefile -r tracefile pattern --remove tracefile --summary tracefile -o tracefile --output-file -q --quiet -v --verbose --ignore-errors errors --exclude pattern -z --zerocounters -t testname --t…
manual2026-10

manpages.debian.org

Before it fills your prompt, Otty checks the installed lcov against its version. A form that does not match your version is not offered.