Thread: Coverity and Clang Static Analyzer runs

Coverity and Clang Static Analyzer runs

From
Heikki Linnakangas
Date:
I registered psqlodbc for the Coverity Scan program at
scan.coverity.org, and performed the initial run. I fixed a bunch of
issues that it pointed out.

I also ran Clang Static Analyzer, which pointed out some of the same
issues as Coverity did, and a few others. I've fixed a bunch of those too.

If you'd like to help out weeding the Coverity defects, sign up at
scan.coverity.org. A few dozen defects remain, most of which seem to be
false positives at a quick glance. For now, I plan to run it manually on
my laptop every now and then.

- Heikki


Re: Coverity and Clang Static Analyzer runs

From
Michael Paquier
Date:
On Mon, Jan 26, 2015 at 4:07 PM, Heikki Linnakangas
<hlinnakangas@vmware.com> wrote:
> I registered psqlodbc for the Coverity Scan program at scan.coverity.org,
> and performed the initial run. I fixed a bunch of issues that it pointed
> out.
+1, this is a good thing to do to improve the quality of the code.
Btw, that's scan.coverity.com, not .org :)
--
Michael