The first year of Coverity Linux kernel scans
codemonkey.org.uk
codemonkey.org.uk
Crossing my fingers.
We'll soon start using clang's scan-build systematically, too.
http://neovim.org/doc/build-reports/clang/
Click on any of the "View Report" links to see a line-by-line step-through of each suspected bug.
(Coverity doesn't allow public access to reports AFAIK, so can't link to it.)
For more info on Coverity fixes and conventions, check out the Wiki page: https://github.com/neovim/neovim/wiki/Contributing#coverity
if (condition)
bar();
else
bar();
And switch (foo) {
case 0: bar();
;;
case 1: misc();
break;
}EDIT: I stand corrected - Python has integrated Coverity into their builds: https://docs.python.org/devguide/coverity.html
It still bothers me that the scan reports aren't open; it feels antithetical to the nature and spirit of open source software.
Coverity says that only "project members" can get access to the full bug reports. IIRC there's also a rule about not posting verbatim Coverity reports anywhere publicly visible.
I assume this is "stop the competition from seeing what we're doing", but I've never asked.