sponsor Vim development Vim logo Vim Book Ad

Coverity compiler plugin : Compiler plugin for the cov-format-errors command in Coverity static analysis

 script karma  Rating 1/1, Downloaded by 958  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.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
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: 18.116.63.236

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github