Coverity compiler plugin : Compiler plugin for the cov-format-errors command in Coverity static analysis
script karma |
Rating 1/1,
Downloaded by 1124 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Ben Fritz |
|
script type |
utility |
|
description |
Simple compiler plugin to set up an errorformat and makeprg for the cov-format-errors command which ships with Coverity Static Analysis ( http://coverity.com/products/static-analysis.html ). Mostly useful for quick tests since it does not communicate with the Integrity Manager at all. If you want that, Coverity (the company) has a solution which does in their knowledge center ( http://coverity5.coverity.com/node/520 ), but I've not tried it.
Currently without documentation, this script pretty self explanatory. Use :compiler coverity to set the compiler, as normal.
When setting the compiler, the script will prompt you for a path to the Coverity emit/intermediate directory you are interested in parsing. You can optionally set the variable b:coverity_emit_dir to this path and it will just use the path instead of prompting you. |
|
install details |
Place into the "compiler" directory on your runtimepath (e.g. ~/.vim/compiler or C:\Documents and Settings\username\vimfiles\compiler). Done! You don't even need to restart Vim. |
|
script versions (upload new version)
Click on the package to download.
coverity.vim |
2 |
2013-03-16 |
7.0 |
Ben Fritz |
Update error format for lines starting like "path:" instead of with the filename directly (hurray for inconsistent formats!) |
coverity.vim |
1 |
2012-02-14 |
7.0 |
Ben Fritz |
Initial upload |
ip used for rating: 3.147.2.160
|