News for hackers. Stuff that matters.
Re:Additional C/C++ Tooling by apaprocki on Friday July 24, 2015 @09:50PM (#9946239)
If you work at a company that can afford Coverity (static analyzer), it is great. Super simple to integrate into a standard gcc build.
Re:Additional C/C++ Tooling by exDM69 on Saturday July 25, 2015 @08:22AM (#9947376)
I have not tried this yet, but Coverity provides a free online tool for open source projects. It will be a nice complement to travis/coveralls and other CI tools available for free to open source projects.

I'll definitely try it out once I get some time to work on infrastructure things on my own open source projects.

https://scan.coverity.com/

Re:Additional C/C++ Tooling by TwoBit on Saturday July 25, 2015 @12:07AM (#9946509)
I'd love to see a comparison of Coverity vs. Clang sanitizers.

I wish we could buy just a couple Coverity licenses, but they want to license the entire organization for something like $200,000.

Re:Additional C/C++ Tooling by slacka on Saturday July 25, 2015 @01:43AM (#9946689)
When Daniel Hax ran Coverity and Clang against the curl source code, he found that the each "tool detected several issues the other didn’t spot."

Coverity – very accurate reports and few false positives

clang-analyzer – awesome reports, missed slightly too many issues and reported slightly too many false positives [1]

You'll find similar results in PVS Studio vs clang[2] and PVS Studio vs Coverity.[3] If code quality is important to your organization, than one tool is probably not enough. If it's vital, you may want to consider another language such as Haskell or OCaml.

[1] http://daniel.haxx.se/blog/2012/07/12/three-static-code-anal...

[2] http://www.viva64.com/en/b/0272/

[3] http://www.viva64.com/en/a/0076/

Re:Additional C/C++ Tooling by jschwartzi on Saturday July 25, 2015 @12:54AM (#9946605)
Just out of curiosity, how big is your org? I've been tempted to suggest Coverity a few times but I always balk at buying tools where the price is listed as $CallSalesAndNegotiate.