Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6990

[cppcheck] List of files not correctly displayed when providing several XML files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cppcheck-plugin
    • Labels:
      None
    • Environment:
      Hudson ver. 1.346
      cppcheck plugin 0.10
      cppcheck 1.43
    • Similar Issues:

      Description

      When providing several XML result files to cppcheck plugin, the list of files in violation is not correct.
      Only the last file is taken into account.

      Note that the total of defect is correct

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

          I can't reproduce the problem.
          Could you test it again with the new version?
          And could you send me samples result files for reproducing the problem?

          Show
          gbois Gregory Boissinot added a comment - I can't reproduce the problem. Could you test it again with the new version? And could you send me samples result files for reproducing the problem?
          Hide
          blz Blazej Kroll added a comment - - edited

          I can see this issue also on Hudson ver. 1.395, and cppcheck plugin 0.10.3 (now updating to 0.11, will check this version also), cppcheck ver 1.47 (with old xml report format enabled).
          In my projects there are about 100 xml files with cppcheck results and the total number of errors/style warnings is correct, however, the contents of is displayed
          only for the last xml file or sometimes it is trunked to about 1000 elements.

          Cppcheck is iterating thorough my directories and is creating a *_results.xml file in the trunk directory.

          Then the following Cppcheck directory is given to the plug-in:

          **/trunk/*_results.xml

          Show
          blz Blazej Kroll added a comment - - edited I can see this issue also on Hudson ver. 1.395, and cppcheck plugin 0.10.3 (now updating to 0.11, will check this version also), cppcheck ver 1.47 (with old xml report format enabled). In my projects there are about 100 xml files with cppcheck results and the total number of errors/style warnings is correct, however, the contents of is displayed only for the last xml file or sometimes it is trunked to about 1000 elements. Cppcheck is iterating thorough my directories and is creating a *_results.xml file in the trunk directory. Then the following Cppcheck directory is given to the plug-in: **/trunk/*_results.xml
          Hide
          gbois Gregory Boissinot added a comment -

          Fixed in 0.13

          Show
          gbois Gregory Boissinot added a comment - Fixed in 0.13
          Hide
          mixalturek Michal Turek added a comment -

          Closing.

          Show
          mixalturek Michal Turek added a comment - Closing.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              paskalad paskalad
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: