Menu

Statistics window ignores inconclusive warnings

David Karr
2019-02-18
2019-02-23
  • David Karr

    David Karr - 2019-02-18

    When I run CppCheck on a source file with inconclusive warnings but no other issues, the Statistics tab of the Statistics window reports that I have no messages of any kind: all the numbers are zero.

    To produce this result, I checked the box for "Check for inconclusive errors also", ran CppCheck version 1.86 on a directory containing the file below, pulled down "View->Statistics", and selected the Statistics tab.

    class Example
    {
    public:
    Example();
    private:
    int x;
    int y;
    };

    Example::Example() : y(2), x(1)
    {
    }

     
  • Daniel Marjamäki

    Thanks! I created this ticket: https://trac.cppcheck.net/ticket/8989

     

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.