Wednesday, 2 April 2014

Static analysis with cppcheck

We've added cppcheck to the CI server.

You can get to its output from

http://ci.netsurf-browser.org/jenkins/job/cppcheck-netsurf/

Unlike the scan-build static analysis tool, this one analyses
everything, so it includes all the platform code for e.g. amiga, atari,
riscos, etc.

The scan-build results are also available on the CI server but only
cover core, framebuffer front end, and our library code.

Hopefully the cppcheck results will be useful. I've fixed a few issues
it found in riscos/ already. It's not found much in the core, but that
code is already well checked by Coverity and scan-build.

Cheers,

Michael

No comments:

Post a Comment