Hi,
I am new to cppcheck, and I know I can use cppcheck PATH --xml 2> err.xml to generate a file contains detected error.
cppcheck PATH --xml 2> err.xml
I am wondering if it is possible to show brief summary of each severities after all files are checked, for example:
Checking DIR/aaaa.cpp ... 1/100 files checked 1% done Checking DIR/bbbb.cpp ... 2/100 files checked 2% done . . . Checking DIR/zzzz.cpp ... 100/100 files checked 100% done ---------------------------------- | Severity | Count | ---------------------------------- | error | 20 | | warning | 10 | | style | 5 | | performance | 2 | | portability | 1 | | information | 12 | ----------------------------------
I believe that the GUI has such summary. But the command line does not currently have it.
Log in to post a comment.
Hi,
I am new to cppcheck, and I know I can use
cppcheck PATH --xml 2> err.xml
to generate a file contains detected error.I am wondering if it is possible to show brief summary of each severities after all files are checked, for example:
I believe that the GUI has such summary. But the command line does not currently have it.