Tag

lcov

0 views collected around this technical thread.

DevOps Engineer
DevOps Engineer
Aug 23, 2021 · Fundamentals

Measuring Code Coverage for C/C++ Projects with Gcov and LCOV

This article explains how to measure code coverage for C/C++ projects using GCC's built‑in Gcov tool and the LCOV utility, covering prerequisite setup, compilation with profiling flags, running tests, generating .gcno/.gcda files, producing .gcov reports, creating HTML visualizations, and cautions against over‑relying on coverage percentages.

CCode Coveragegcc
0 likes · 11 min read
Measuring Code Coverage for C/C++ Projects with Gcov and LCOV
Youzan Coder
Youzan Coder
Jan 6, 2020 · Mobile Development

Precise Mobile Testing Platform: iOS Code Coverage Instrumentation and Incremental Coverage Analysis

The article details Youzan Retail’s precise iOS testing platform, which instruments Objective‑C code via GCC/LLVM to generate .gcno/.gcda files, processes them with LCOV, and provides both full and git‑diff‑based incremental coverage visualizations across CI, data collection, parsing, and reporting layers to improve manual and automated test quality.

Code CoverageInstrumentationMobile Testing
0 likes · 18 min read
Precise Mobile Testing Platform: iOS Code Coverage Instrumentation and Incremental Coverage Analysis
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.

CCode Coveragegcov
0 likes · 7 min read
Practical Guide to C++ Code Coverage Testing with gcov and lcov
360 Quality & Efficiency
360 Quality & Efficiency
Mar 2, 2018 · Fundamentals

How to Perform C Code Coverage Testing with gcov and lcov on Ubuntu

This article explains how to set up gcov and lcov on Ubuntu, write a simple C++ program, compile it with coverage flags, generate .gcno and .gcda files, use lcov to create an HTML coverage report, and interpret the resulting line and function coverage percentages.

CCode CoverageUbuntu
0 likes · 4 min read
How to Perform C Code Coverage Testing with gcov and lcov on Ubuntu
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.

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