Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27284

No output from cppcheck plugin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 7.0.0
    • Analyzer: CppCheck
    • None
    • Linux x86-64 Ubuntu 21.10
    • Linux/X11
    • 11544df48b (qt-creator/qt-creator/master)

    Description

      cppcheck plugin is enabled (cppcheck version 2.6 installed) on ubuntu 21.10.

      Analyze->Cppcheck

      All Checks enabled

      Custom arguments --enable=all

      Only "Check all define combinations not checked"

      All sources checked.

      Click Analyze

      Progress bar slowly progresses.

      top in a terminal shows cppcheck is running.

      No issues are displayed.

      Running cppcheck --enable-all `find -name "*.cpp"` on the same source tree shows numerous issues (variableScope, constParameter, duplicateBreak, etc.)

      Clang-Tidy and Clazy work as expected.

      Further, cppcheck doesn't show "progress" in the Application Output pane like Clang-Tidy and Clazy so it is difficult to tell what it is "doing".

      Let me know if there is further information that I can provide to help debug the "problem".

       

      Attachments

        1. CMakeLists.txt
          0.1 kB
        2. diagnostic.png
          diagnostic.png
          84 kB
        3. test.cpp
          0.1 kB
        For Gerrit Dashboard: QTCREATORBUG-27284
        # Subject Branch Project Status CR V

        Activity

          People

            gres Sergey
            bpriest William Priest
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes