<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Coverage on Xianpeng Shen</title><link>https://shenxianpeng.dev/en/tags/coverage/</link><description>Recent content in Coverage on Xianpeng Shen</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>xianpeng.shen@gmail.com (Xianpeng Shen)</managingEditor><webMaster>xianpeng.shen@gmail.com (Xianpeng Shen)</webMaster><copyright>Copyright © 2017–2026 Xianpeng Shen. All rights reserved.</copyright><lastBuildDate>Tue, 07 Sep 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://shenxianpeng.dev/en/tags/coverage/index.xml" rel="self" type="application/rss+xml"/><item><title>Run lcov failed "Can't locate JSON/PP.pm in @INC ..."</title><link>https://shenxianpeng.dev/en/posts/2021/lcov-error/</link><pubDate>Tue, 07 Sep 2021 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (Xianpeng Shen)</author><guid>https://shenxianpeng.dev/en/posts/2021/lcov-error/</guid><description>This article explains how to resolve the &amp;ldquo;Can&amp;rsquo;t locate JSON/PP.pm in @INC &amp;hellip;&amp;rdquo; error when running lcov, including installing missing Perl modules.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/posts/2021/lcov-error/featured.jpg"/></item><item><title>How to fix "hidden symbol `__gcov_init' in ../libgcov.a(_gcov.o) is referenced by DSO"</title><link>https://shenxianpeng.dev/en/posts/2021/how-to-fix-gcov-hidden-symbol/</link><pubDate>Tue, 27 Jul 2021 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (Xianpeng Shen)</author><guid>https://shenxianpeng.dev/en/posts/2021/how-to-fix-gcov-hidden-symbol/</guid><description>This article explains how to resolve the &amp;ldquo;hidden symbol `__gcov_init&amp;rsquo; in ../libgcov.a(_gcov.o) is referenced by DSO&amp;rdquo; error when building a project with Gcov, including how to ensure symbols are not hidden.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/posts/2021/how-to-fix-gcov-hidden-symbol/featured.jpg"/></item><item><title>About Code Coverage</title><link>https://shenxianpeng.dev/en/posts/2021/code-coverage/</link><pubDate>Wed, 14 Jul 2021 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (Xianpeng Shen)</author><guid>https://shenxianpeng.dev/en/posts/2021/code-coverage/</guid><description>This article briefly introduces the concept, importance, common metrics, working principle, and mainstream tools of code coverage, emphasizing that code coverage metrics should not be over-relied upon.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/posts/2021/code-coverage/featured.jpg"/></item><item><title>Code coverage testing of C/C++ projects using Gcov and LCOV</title><link>https://shenxianpeng.dev/en/posts/2021/gcov-example/</link><pubDate>Sun, 11 Jul 2021 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (Xianpeng Shen)</author><guid>https://shenxianpeng.dev/en/posts/2021/gcov-example/</guid><description>This article shares how to use Gcov and LCOV to metrics code coverage for C/C++ projects. It explains the steps to compile, run tests, and generate coverage reports, including example commands and expected outputs.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/posts/2021/gcov-example/featured.jpg"/></item><item><title>A Code Coverage Tool - Squish Coco use examples</title><link>https://shenxianpeng.dev/en/posts/2019/squishcoco/</link><pubDate>Tue, 21 May 2019 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (Xianpeng Shen)</author><guid>https://shenxianpeng.dev/en/posts/2019/squishcoco/</guid><description>introduction to Squish Coco, a code coverage tool, with examples of how to set it up and use it in Visual Studio for C++ projects.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/posts/2019/squishcoco/featured.jpg"/></item><item><title>Code Coverage tools of C/C++</title><link>https://shenxianpeng.dev/en/posts/2019/code-coverage-tools/</link><pubDate>Tue, 21 May 2019 00:00:00 +0000</pubDate><author>xianpeng.shen@gmail.com (Xianpeng Shen)</author><guid>https://shenxianpeng.dev/en/posts/2019/code-coverage-tools/</guid><description>Code Coverage is a measurement of how many lines, statements, or blocks of your code are tested using your suite of automated tests. It’s an essential metric to understand the quality of your QA efforts.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shenxianpeng.dev/posts/2019/code-coverage-tools/featured.jpg"/></item></channel></rss>