Tagged articles
8 articles
Page 1 of 1
Amap Tech
Amap Tech
Aug 28, 2020 · Fundamentals

Code Coverage Instrumentation Using LLVM and GCOV

The article explains how to instrument code for coverage using LLVM’s modular compiler infrastructure—adding compile‑time probes that generate .gcno files, runtime counters that produce .gcda files, and then parsing these with GCOV, while detailing LLVM IR, basic blocks, flow graphs, and extensions for custom plugins.

IRInstrumentationLLVM
0 likes · 17 min read
Code Coverage Instrumentation Using LLVM and GCOV
360 Quality & Efficiency
360 Quality & Efficiency
Sep 10, 2019 · Fundamentals

Practical Guide to C++ Code Coverage Testing with gcov and lcov

This article provides a step‑by‑step tutorial on performing C++ code‑coverage testing using gcov, covering compilation flags, running the instrumented program, generating gcov reports, and creating detailed HTML reports with lcov, including command examples and configuration details.

CSoftware Testingcode coverage
0 likes · 7 min read
Practical Guide to C++ Code Coverage Testing with gcov and lcov
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 6, 2019 · Mobile Development

Code Coverage Instrumentation and Analysis for iOS Projects

To meet strict quality goals for iOS projects, the article describes adopting intermediate‑file code‑coverage instrumentation, generating gcno/gcda files, using lcov for full and incremental analysis, and integrating the process into builds and CI to enforce coverage thresholds and guide test‑case design.

InstrumentationSoftware qualitycode coverage
0 likes · 12 min read
Code Coverage Instrumentation and Analysis for iOS Projects
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 12, 2017 · Fundamentals

Introduction to C/C++ Code Coverage Tools and Practices (BullseyeCoverage, gcov/lcov)

This article explains the concepts of code coverage, describes different coverage metrics such as statement, branch, and function coverage, introduces BullseyeCoverage and gcov/lcov tools, and provides detailed step‑by‑step procedures for measuring coverage in both executable binaries and dynamic libraries for C/C++ projects.

BullseyeCoveragecode coveragegcov
0 likes · 8 min read
Introduction to C/C++ Code Coverage Tools and Practices (BullseyeCoverage, gcov/lcov)