Menu

Brief Summary?

AristoChen
2020-06-10
2020-06-10
  • AristoChen

    AristoChen - 2020-06-10

    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:

    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 |
    ----------------------------------
    
     
  • Daniel Marjamäki

    I believe that the GUI has such summary. But the command line does not currently have it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.