{"id":26335903,"url":"https://github.com/lumakernel/vcov","last_synced_at":"2026-01-02T19:10:55.535Z","repository":{"id":103264663,"uuid":"242331764","full_name":"LumaKernel/vcov","owner":"LumaKernel","description":"Vim Script coverage tool","archived":false,"fork":false,"pushed_at":"2020-02-25T00:35:55.000Z","size":50,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-15T07:03:20.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LumaKernel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-02-22T11:43:57.000Z","updated_at":"2020-04-14T23:16:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"450d8b60-06f2-451c-87b6-d1f2c8a074f8","html_url":"https://github.com/LumaKernel/vcov","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LumaKernel%2Fvcov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LumaKernel%2Fvcov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LumaKernel%2Fvcov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LumaKernel%2Fvcov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LumaKernel","download_url":"https://codeload.github.com/LumaKernel/vcov/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809882,"owners_count":20351407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-16T01:15:55.679Z","updated_at":"2026-01-02T19:10:55.503Z","avatar_url":"https://github.com/LumaKernel.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vcov - Vim Script coverage tool\n\n[![Powered by vital.vim](https://img.shields.io/badge/powered%20by-vital.vim-80273f.svg?style=flat-square)](https://github.com/vim-jp/vital.vim)\n\n\n## Dependencies\n\n- Vim or neovim\n\n## Installation\n\nClone and pass the vcov/bin path to PATH environment.\n\n\n## Usage\n\n1. Take a profile by yourself.\n\n```vim\n\" vimscript\nprofile start vim.profile\nprofile! file autoload/**/*.vim\n\n\" ...\n```\n\n2. Transform vim profile into lcov info file by vcov.\n\n```sh\n$ vcov vim.profile  # -\u003e vim.profile.lcov.info\n$ # or you can specify output file\n$ vcov vim.profile -o lcov.info\n```\n\n3. Send it by coverage tools or genhtml to see the result locally.\n\n```sh\n$ genhtml lcov.info\n$ # open index.html in your favorite browser\n```\n\n### Mereg multiple profiles\n\nAccepts multiple profiles.\n\n```sh\n$ vcov vim1.profile vim2.profile vim3.profile -o merged.info\n```\n\n### For more information\n\n```\n$ vcov --help\n```\n\n## Configuration\n\nSet below environment variables to change the behavior.\n\n- `VCOV_VIM` : Vim/neovim executable path.  ( default: `vim` )\n- `VCOV_HOME` : The directory of this repository.\n\n## Examples\n\nRecommended you use as newer version of vim as possible.\nOlder versions of vim is not supported to produce the proper profile data.\n(Checked: Vim 8.2 or above, neovim v0.4.3 or above)\n\nAlso please use newer version of vcov.\n\n### vcov with vim-themis on Linux and Windows\n\n- [LumaKernel/vital-Luv](https://github.com/LumaKernel/vital-Luv/blob/master/.github/workflows/Windows-Vim-neovim.yml)\n\n\n### GitHub Actions with [coverallsapp/github-action](https://github.com/coverallsapp/github-action)\n\n#### on Linux\n\n```yaml\n\n# Take profile to vim.profile\n\n  - name: Install vcov\n    run: git clone --depth 1 --branch v0.2.0 --single-branch https://github.com/LumaKernel/vcov $HOME/vcov\n\n\n  - name: Make coverage report\n    run: |\n      export PATH=$HOME/vcov/bin:$PATH\n      vcov --version\n      vcov vim.profile -o lcov.info\n\n  - name: Coveralls\n    uses: coverallsapp/github-action@master\n    with:\n      path-to-lcov: ./lcov.info\n      github-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n\n#### on Windows\n\n\n```yaml\n\n# Take profile to vim.profile\n\n  - name: Install vcov\n    run: git clone --depth 1 --branch v0.2.0 --single-branch https://github.com/LumaKernel/vcov $env:USERPROFILE/vcov\n\n\n  - name: Make coverage report\n    run: |\n      $env:PATH = \"$env:USERPROFILE/vcov/bin;$env:PATH\"\n      vcov --version\n      vcov vim.profile -o lcov.info\n\n  - name: Coveralls\n    uses: coverallsapp/github-action@master\n    with:\n      path-to-lcov: ./lcov.info\n      github-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n\n## Contributing\n\nAny of patches, issues, and wiki pages are welcome !\n\n## VS [Vimjas/covimerage](https://github.com/Vimjas/covimerage)\n\n- Work with the number of line hits.\n- Based on `lcov(1)`, so you can use `genhtml(1)` to check the result.\n\n## Thanks\n\n- [Vimjas/covimerage](https://github.com/Vimjas/covimerage)\n  - Inspired by.\n- [thinca/vim-themis](https://github.com/thinca/vim-themis)\n  - The binary system is inspired by this.\n\n\n## Licenese\n\n[Unlicense](https://unlicense.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumakernel%2Fvcov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flumakernel%2Fvcov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumakernel%2Fvcov/lists"}