↓
Skip to main content
Xianpeng Shen
About
Posts
Mics
HireMe
Portfolio
Archive
EN
简体中文
English
EN
简体中文
English
About
Posts
Mics
HireMe
Portfolio
Archive
Lcov
Run lcov failed "Can't locate JSON/PP.pm in @INC ..."
2021-09-07
·
403 words
·
2 mins
Xianpeng Shen
Lcov
Perl
This article explains how to resolve the “Can’t locate JSON/PP.pm in @INC …” error when running lcov, including installing missing Perl modules.
Code coverage testing of C/C++ projects using Gcov and LCOV
2021-07-11
·
1000 words
·
5 mins
Xianpeng Shen
Gcov
Lcov
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.