Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Lcov GeneratorNew to Visual Studio Code? Get it now.
Lcov Generator

Lcov Generator

SR_team

|
1,058 installs
| (0) | Free
Generate lcov from profraw/gcda files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lcov Generator

This extension generate lcov.info files from LLVM profraw* and GNU gcda files.

By default lcov file generates in folder with build artifacts**, but folder may be specified in settings***

* When present default.profraw file - it used instead other profraw files. When default.profraw missed, all profraw files will be merged.

** Path to build artifacts may be specified in settings and automaticly extracted from CMake and launch.json

*** For multiple artifacts coverage data merged in one file to save in one folder

To view generated data in VSCode, you may use Coverage Gutters

Motivation

This plugin is fork of Gcov viever cmake. Gcov viewer cmake provide integration of Gcov Viewer with CMake via MS CMake-tools extension - this solution works fine, but we locked on CMake and (important) GNU toolkit, because LLVM generates too old gcov data, compatible with GCC 4.2.

This plugin generates lcov - so it can work with LLVM profraw files. Also this plugin can import configurations from launch.json and can work with non-cmake build systems.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft