Follow the procedure below to load coverage results into Visual Studio Code.

  1. Install the <INSTALL_DIR>/integration/vscode/parasoft_cpptest_vscode.vsix extension.
  2. Ensure the C/C++test> Show Advanced Coverage option is enabled in the Visual Studio Code settings.
  3. Open your C/C++ project.
  4. Ensure the corresponding coverage data files (.cov) are located in the <WORKSPACE_DIR>/.coverage folder or go to C/C++test> Coverage Data Folder in Visual Studio Code settings and configure the folder. 
    Ensure the coverage data files are indexed with cpptestcov index.
  5. Use the C/C++test: Show Coverage... command to load coverage results into the active code editor.