KCOV(1) General Commands Manual KCOV(1) (NAME) kcov - Python (SYNOPSIS) kcov [options] out-dir in-file [args-for-executable...] kcov --merge outdir [path-to-more-coverage...] (DESCRIPTION) kcov . kcov ELF Python . . https://github.com/SimonKagstrom/kcov . (OPTIONS) -p, --pid=PID PID ( ). . -l, --limits=low,high / (: 25,75). --include-path=P1[,P2...] . --exclude-path=P1[,P2...] . --include-pattern=P1[,P2...] . --exclude-pattern=P1[,P2...] . --exclude-line=P1[,P2...] ( ). --exclude-region=START:END[,START1:END1...] ( ). START END . --clean . --collect-only HTML/Cobertura . --dump-summary stdout . --report-only HTML/Cobertura . --merge kcov. (*) . --coveralls-id=id coveralls.io repo_token Travis CI (id). repo_token . --strip-path=path . (UNCOMMON OPTIONS) --path-strip-level=N (: 2). --skip-solibs ( ). --verify (breakpoints) . DWARF . --exit-first-process (daemons). . --cobertura-only cobertura cov.xml . vscode coverage gutters . --python-parser=PARSER python Python ( python ). Python 3 Python 2 . --bash-parser=PARSER bash ( /bin/bash ). --bash-method=METHOD METHOD bash. PS4 ( PS4) DEBUG ( DEBUG) . --bash-handle-sh-invocation /bin/sh LD_PRELOAD execve ( /bin/sh /bin/bash ). . --bash-dont-parse-binary-dir Kcov . . --bash-parse-files-in-dir=P1[,P2...] bash. --bash-tracefd-closeexec LD_PRELOAD. . --replace-src-path=P1:P2 P1 P2 . --system-record sysroot . doc/full-system-instrumentation.md . --system-report . --debug=level 0...31 ( ). 0 . --output-interval=MS . 5000 . --configure=KEY=VAL / . --help --uncommon-options . --patchelf=CMD patchelf ( patchelf). (EXAMPLES) ./frodo HTML /tmp/kcov cobertura /tmp/kcov/frodo/cobertura.xml kcov /tmp/kcov ./frodo ./frodo src/frodo kcov --include-pattern=src/frodo /tmp/kcov ./frodo ( ) kcov --collect-only /tmp/kcov ./frodo kcov --report-only --include-pattern=src/frodo /tmp/kcov ./frodo HTML (HTML OUTPUT) HTML . (inlined) ( ). 1/3 . [merged] . . (COBERTURA OUTPUT) Kcov Cobertura XML kcov Jenkins ( https://cobertura.github.io/cobertura https://www.jenkins.io). Cobertura out- path/exec-filename/cobertura.xml . JSON (JSON OUTPUT) Kcov json . . GitlabCI ( https://docs.gitlab.com/ce/user/project/pipelines/settings.html). JSON out- path/exec-filename/coverage.json . (AUTHORS) Kcov Simon Kagstrom bcov Thomas Neumann . Michael Tautschnig ( ). July 8, 2024 KCOV(1)