trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject cppcheck, or: The big cleanup
Date Thu, 24 Nov 2011 19:08:58 GMT

Hi folks,

I just let cppcheck[1] run against our code base (trunk)
and this is the result:

  http://blag.esotericsystems.at/igor/hacks/traffic-server/cppcheck.log

This is similar in concept and spirit to GCC's -Weffc++[2] but probably
easier for us or outside contributors to integrate with, as it requires
no adaption of our current configure.ac script.

The ultimate goal might be code clean up, so much, maybe that we can run
standard (or just --enable-debug) builds with -Weffc++

We could propose this as project
  https://cwiki.apache.org/confluence/display/TS/Projects
Open a JIRA and let who ever is interested in this lose on it.

Thoughts?

i

[1] http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page
[2] http://gcc.gnu.org/onlinedocs/gcc-4.6.2/gcc/C_002b_002b-Dialect-Options.html#index-Weffc_002b_002b-178
-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Mime
View raw message