Skip to content

The llvm-cov tool shows code coverage information for programs that are instrumented to emit profile data.

Notifications You must be signed in to change notification settings

alepez/vim-llvmcov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-llvmcov

Vim plugin to show code coverage with llvm cov tool.

The llvm-cov tool shows code coverage information for programs that are instrumented to emit profile data.

This plugin works with languages supported by llvm: C,C++,Objective-C.

asciicast

Usage

Set the path to the executable and (optionally) the working directory:

:let g:llvmcov#bin = "build/test/lib/unit_tests"
:let g:llvmcov#pwd = "."

Refresh coverage info

This command run tests, so it coverage data is refreshed.

:CoverageRefresh

Show coverage

This command show coverage info for the source code in the current buffer.

:CoverageCurrentFile

Development

Contributing

If you'd like to help, check out the issues. I'd greatly appreciate any contribution you make. Beer is also appreciated ☺

If you have a question, a feature request, or a new idea, don't hesitate to post new issues or pull requests. Collaboration is the most awesome thing in the open source community!

Self-Promotion

Like vim-llvcov? Follow the repository on GitHub and vote for it on vim.org. And if you're feeling especially charitable, follow Alessandro Pezzato on Twitter and GitHub.

If you like the plugin please don't forget to leave a ⭐ for this project! This will help me to estimate the plugin popularity and plan further development.

If you have already starred this repo, thank you!

About

The llvm-cov tool shows code coverage information for programs that are instrumented to emit profile data.

Resources

Stars

Watchers

Forks

Packages

No packages published