Guangdong ZTE New Branch KCov User Manual

This document is the property of Guangdong ZTE New Branch Technology Service Co., Ltd.


Guangdong ZTE New Branch KCov User Manual - cover page
Brand
Guangdong ZTE New Branch
Category
Programming
Document type
User Manual
Language
Chinese
Pages
80
File format
PDF
File size
2.8 MB
Published
18 November, 2023
Updated
18 November, 2023
MD5 checksum
2E779276BA41F33270A9FD411B385FEC

About this manual

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.

What's inside

  • Overview
  • Installation
  • User-state coverage data generation
  • Kernel-state coverage data generation
  • Using KCov to analyze code coverage
  • FAQ
  • Open source LICENSE

Specifications

Interface supportGraphical interface and command line
Save input data source pathSupported
Parse without source codeSupported
ELF file parsingSupported
Chinese localizationSupported

Frequently asked questions

Why does clicking the KCov analysis tool icon produce no response?

XWin failed to start normally; its default port 6000 is occupied, so modify startkcov.sh to use an idle port.

What happens when the KCov package is downloaded directly?

Extract it to any directory; it creates a kcov directory containing kcov, cygwin, and startkcov.exe.

What are the basic steps for code coverage analysis with KCov?

Compile to generate .gcno log files, run to generate .gcda data files, then use KCov with source code to analyze coverage.

Download PDF (2.8 MB)