cppcheck report improvements

cppcheck report improvements

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

cppcheck report improvements

Post by koshi »

needs: cppcheck source (i have 1.49), pygments
makes: (somewhat) pretty, much better organized output
how:

Code: Select all

cppcheck --xml --enable=all --quiet -j 3 INPUT_FILES 2> report.xml
CPPCHECK_SOURCE_DIR/htmlreport/cppcheck-htmlreport --source-dir=ACTUAL_SOURCEDIR --file=report.xml --report-dir=report
${WWW_BROWSER} report/index.html
note that my INPUT_FILES all were given with abs paths and I am half asleep atm
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: cppcheck report improvements

Post by abma »

mantified: http://springrts.com/mantis/view.php?id=2626

thx!

as for a clean usage of this it is required to upload the generated file, it will take some time to implement this...
Post Reply

Return to “Engine”