This document is the property of Guangdong ZTE New Branch Technology Service Co., Ltd.
KCov is a code coverage analysis tool from Guangdong ZTE New Branch. It helps identify unexecuted or dead code and supports both user-state and kernel-state coverage analysis.
This manual explains installation, generating .gcno and .gcda coverage data for user-state and kernel-state code, analyzing coverage with the graphical or command-line KCov interface, and includes an FAQ and open source license notes. This manual is written in Chinese.
| Interface support | Graphical interface and command line |
|---|---|
| Save input data source path | Supported |
| Parse without source code | Supported |
| ELF file parsing | Supported |
| Chinese localization | Supported |
XWin failed to start normally; its default port 6000 is occupied, so modify startkcov.sh to use an idle port.
Extract it to any directory; it creates a kcov directory containing kcov, cygwin, and startkcov.exe.
Compile to generate .gcno log files, run to generate .gcda data files, then use KCov with source code to analyze coverage.